summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/genapic.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-02-17 14:36:42 +0100
committerIngo Molnar <mingo@elte.hu>2009-02-17 17:52:42 +0100
commit28aa29eeb3918f820b914679cfc4404972f2df32 (patch)
treefdab61ae7ee46424f8b60c1b668b136c2adfb4e4 /arch/x86/include/asm/genapic.h
parentx86, apic: fix build fallout of genapic changes (diff)
downloadlinux-28aa29eeb3918f820b914679cfc4404972f2df32.tar.xz
linux-28aa29eeb3918f820b914679cfc4404972f2df32.zip
remove: genapic prepare
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/genapic.h')
-rw-r--r--arch/x86/include/asm/genapic.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/x86/include/asm/genapic.h b/arch/x86/include/asm/genapic.h
index a6d0b00a544c..9b874a386837 100644
--- a/arch/x86/include/asm/genapic.h
+++ b/arch/x86/include/asm/genapic.h
@@ -168,8 +168,6 @@ extern void apic_send_IPI_self(int vector);
extern struct genapic apic_x2apic_uv_x;
DECLARE_PER_CPU(int, x2apic_extra_bits);
-extern void default_setup_apic_routing(void);
-
extern int default_cpu_present_to_apicid(int mps_cpu);
extern int default_check_phys_apicid_present(int boot_cpu_physical_apicid);
#endif
@@ -211,10 +209,9 @@ static inline unsigned int read_apic_id(void)
return apic->get_apic_id(reg);
}
-#ifdef CONFIG_X86_64
extern void default_setup_apic_routing(void);
-#else
+#ifdef CONFIG_X86_32
/*
* Set up the logical destination ID.
*
@@ -251,14 +248,6 @@ static inline int default_phys_pkg_id(int cpuid_apic, int index_msb)
return cpuid_apic >> index_msb;
}
-static inline void default_setup_apic_routing(void)
-{
-#ifdef CONFIG_X86_IO_APIC
- printk("Enabling APIC mode: %s. Using %d I/O APICs\n",
- "Flat", nr_ioapics);
-#endif
-}
-
extern int default_apicid_to_node(int logical_apicid);
#endif