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

[Xen-bugs] [Bug 37] x86_64 build break - acpi/boot.c:48: error: redefinition of `ioapic_setup_disabled'



http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi?id=37





------- Additional Comments From dbarrera@xxxxxxxxxx  2005-05-12 12:55 -------
I noticed there was a patch sent to xen-devel by Andrei Petrov that was either
the cause or the intended fix for this problem. At any rate, I tried applying
the patch but it failed 
--------------------------------------------------
Patch from Andrei Petrov:

This patch makes recent unstable buildable on x86_64.

--- xen/arch/x86/acpi/boot.c.orig       2005-05-11 09:54:27.000000000 -0700
+++ xen/arch/x86/acpi/boot.c    2005-05-11 14:48:37.000000000 -0700
@@ -41,21 +41,11 @@ int sbf_port;
 #define end_pfn_map max_page
 #define CONFIG_ACPI_PCI
 
-#ifdef CONFIG_X86_64
-
-static inline void  acpi_madt_oem_check(char *oem_id, char *oem_table_id) { }
-extern void __init clustered_apic_check(void);
-static inline int ioapic_setup_disabled(void) { return 0; }
-
-#else  /* X86 */
-
 #ifdef CONFIG_X86_LOCAL_APIC
 #include <mach_apic.h>
 #include <mach_mpparse.h>
 #endif /* CONFIG_X86_LOCAL_APIC */
 
-#endif /* X86 */
-
 #define BAD_MADT_ENTRY(entry, end) (                                       \
                (!entry) || (unsigned long)entry + sizeof(*entry) > end ||  \
                ((acpi_table_entry_header *)entry)->length != sizeof(*entry))




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


 


Rackspace

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