diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-03-21 11:34:41 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-03-21 11:34:41 +0100 |
commit | 7ce80e59d44c239e268f1bda3bcbc6ab71b4b1f3 (patch) | |
tree | 521b1f0c49f7a238af709986cb5c54070c1bccdd /xen/arch/x86/genapic | |
parent | 0b35103d5483e20b52c4652145f2e8bcaa832e4e (diff) | |
download | xen-7ce80e59d44c239e268f1bda3bcbc6ab71b4b1f3.tar.gz xen-7ce80e59d44c239e268f1bda3bcbc6ab71b4b1f3.tar.bz2 xen-7ce80e59d44c239e268f1bda3bcbc6ab71b4b1f3.zip |
Fix a bug, and also fixes the build with some gcc4 versions.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/genapic')
-rw-r--r-- | xen/arch/x86/genapic/es7000plat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/genapic/es7000plat.c b/xen/arch/x86/genapic/es7000plat.c index 032ac972d7..1d7d0d5776 100644 --- a/xen/arch/x86/genapic/es7000plat.c +++ b/xen/arch/x86/genapic/es7000plat.c @@ -165,7 +165,7 @@ find_unisys_acpi_oem_table(unsigned long *oem_addr) unsigned long rsdp_phys = 0; struct acpi_table_header *header = NULL; int i; - struct acpi_table_sdt sdt; + struct acpi_table_sdt sdt = { 0 }; /* initialise sdt.count */ rsdp_phys = acpi_find_rsdp(); rsdp = __va(rsdp_phys); |