]> xenbits.xensource.com Git - qemu-xen-4.4-testing.git/commitdiff
alignment fix
authorbellard <bellard>
Mon, 8 May 2006 13:38:46 +0000 (13:38 +0000)
committerbellard <bellard>
Mon, 8 May 2006 13:38:46 +0000 (13:38 +0000)
hw/acpi.c

index 40fc3345f10e14a6c89854a4007dd4575f9d147e..3ffdfdddbfbff79537d53234246cd3b79c1e13b4 100644 (file)
--- a/hw/acpi.c
+++ b/hw/acpi.c
@@ -521,7 +521,8 @@ void acpi_bios_init(void)
     dsdt_addr = addr;
     dsdt = (void *)(phys_ram_base + addr);
     addr += sizeof(AmlCode);
-    
+
+    addr = (addr + 7) & ~7;
     madt_addr = addr;
     madt_size = sizeof(*madt) + 
         sizeof(struct madt_processor_apic) * smp_cpus +