[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix a bug, and also fixes the build with some gcc4 versions.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID d0db2359769c3fd1b6eb46051d2c821d58112c49
# Parent  96d606c074f8801180d3f158e33f9b89a76149f0
Fix a bug, and also fixes the build with some gcc4 versions.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r 96d606c074f8 -r d0db2359769c xen/arch/x86/genapic/es7000plat.c
--- a/xen/arch/x86/genapic/es7000plat.c Tue Mar 21 10:29:17 2006
+++ b/xen/arch/x86/genapic/es7000plat.c Tue Mar 21 10:34:41 2006
@@ -165,7 +165,7 @@
        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);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.