From 73540ca962d94c4bfc8fd178590172f0a9f81bfc Mon Sep 17 00:00:00 2001
From: bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Date: Mon, 8 May 2006 13:38:46 +0000
Subject: [PATCH] alignment fix

---
 hw/acpi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hw/acpi.c b/hw/acpi.c
index 40fc334..3ffdfdd 100644
--- 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 +
--
libgit2 0.23.3