x86: fix x86_32 builds for summit and es7000 arch's

Fix the following build errors reported by Yinghai Lu:

| In file included from arch/x86/mach-generic/summit.c:16:
| tip/linux-2.6/arch/x86/include/asm/summit/apic.h:
| In function 'cpu_mask_to_apicid_and':
| tip/linux-2.6/arch/x86/include/asm/summit/apic.h:179:
| error: 'GFP_ATOMIC' undeclared (first use in this function)

Reported-by: Yinghai Lu <Yinghai.Lu@Sun.COM>
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

authored by

Mike Travis and committed by
Ingo Molnar
4d9f9431 e39ad415

+3
+2
arch/x86/include/asm/es7000/apic.h
··· 1 #ifndef __ASM_ES7000_APIC_H 2 #define __ASM_ES7000_APIC_H 3 4 #define xapic_phys_to_log_apicid(cpu) per_cpu(x86_bios_cpu_apicid, cpu) 5 #define esr_disable (1) 6
··· 1 #ifndef __ASM_ES7000_APIC_H 2 #define __ASM_ES7000_APIC_H 3 4 + #include <linux/gfp.h> 5 + 6 #define xapic_phys_to_log_apicid(cpu) per_cpu(x86_bios_cpu_apicid, cpu) 7 #define esr_disable (1) 8
+1
arch/x86/include/asm/summit/apic.h
··· 2 #define __ASM_SUMMIT_APIC_H 3 4 #include <asm/smp.h> 5 6 #define esr_disable (1) 7 #define NO_BALANCE_IRQ (0)
··· 2 #define __ASM_SUMMIT_APIC_H 3 4 #include <asm/smp.h> 5 + #include <linux/gfp.h> 6 7 #define esr_disable (1) 8 #define NO_BALANCE_IRQ (0)