aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2011-05-20 20:51:20 -0400
committerIngo Molnar <mingo@elte.hu>2011-05-22 05:48:04 -0400
commit1a8880a14270814dae0d226a2ad065d30587e60a (patch)
treedb42759ef2828202fd6933541d937885c2b6169e /arch/x86/include
parent69c252ffce77f4e38347d536ee4eab4aa162dc67 (diff)
x86, apic: Make apic drivers static
Apic probe now looks at the apic drivers listed in the .apicdrivers section. Remove apic_probe[] and make each apic driver static. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Tested-by: Cyrill Gorcunov <gorcunov@openvz.org> Cc: steiner@sgi.com Cc: gorcunov@openvz.org Cc: yinghai@kernel.org Link: http://lkml.kernel.org/r/20110521005526.341718626@sbsiddha-MOBL3.sc.intel.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/apic.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
index f37703dc69fe..4a0b7c7e2cce 100644
--- a/arch/x86/include/asm/apic.h
+++ b/arch/x86/include/asm/apic.h
@@ -478,15 +478,10 @@ static inline unsigned default_get_apic_id(unsigned long x)
478#define DEFAULT_TRAMPOLINE_PHYS_HIGH 0x469 478#define DEFAULT_TRAMPOLINE_PHYS_HIGH 0x469
479 479
480#ifdef CONFIG_X86_64 480#ifdef CONFIG_X86_64
481extern struct apic apic_flat;
482extern struct apic apic_physflat;
483extern struct apic apic_x2apic_cluster;
484extern struct apic apic_x2apic_phys;
485extern int default_acpi_madt_oem_check(char *, char *); 481extern int default_acpi_madt_oem_check(char *, char *);
486 482
487extern void apic_send_IPI_self(int vector); 483extern void apic_send_IPI_self(int vector);
488 484
489extern struct apic apic_x2apic_uv_x;
490DECLARE_PER_CPU(int, x2apic_extra_bits); 485DECLARE_PER_CPU(int, x2apic_extra_bits);
491 486
492extern int default_cpu_present_to_apicid(int mps_cpu); 487extern int default_cpu_present_to_apicid(int mps_cpu);
@@ -536,8 +531,6 @@ extern struct apic apic_noop;
536 531
537#ifdef CONFIG_X86_32 532#ifdef CONFIG_X86_32
538 533
539extern struct apic apic_default;
540
541static inline int noop_x86_32_early_logical_apicid(int cpu) 534static inline int noop_x86_32_early_logical_apicid(int cpu)
542{ 535{
543 return BAD_APICID; 536 return BAD_APICID;