diff options
author | Suresh Siddha <suresh.b.siddha@intel.com> | 2011-05-20 20:51:20 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-05-22 05:48:04 -0400 |
commit | 1a8880a14270814dae0d226a2ad065d30587e60a (patch) | |
tree | db42759ef2828202fd6933541d937885c2b6169e /arch/x86/include | |
parent | 69c252ffce77f4e38347d536ee4eab4aa162dc67 (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.h | 7 |
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 |
481 | extern struct apic apic_flat; | ||
482 | extern struct apic apic_physflat; | ||
483 | extern struct apic apic_x2apic_cluster; | ||
484 | extern struct apic apic_x2apic_phys; | ||
485 | extern int default_acpi_madt_oem_check(char *, char *); | 481 | extern int default_acpi_madt_oem_check(char *, char *); |
486 | 482 | ||
487 | extern void apic_send_IPI_self(int vector); | 483 | extern void apic_send_IPI_self(int vector); |
488 | 484 | ||
489 | extern struct apic apic_x2apic_uv_x; | ||
490 | DECLARE_PER_CPU(int, x2apic_extra_bits); | 485 | DECLARE_PER_CPU(int, x2apic_extra_bits); |
491 | 486 | ||
492 | extern int default_cpu_present_to_apicid(int mps_cpu); | 487 | extern 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 | ||
539 | extern struct apic apic_default; | ||
540 | |||
541 | static inline int noop_x86_32_early_logical_apicid(int cpu) | 534 | static inline int noop_x86_32_early_logical_apicid(int cpu) |
542 | { | 535 | { |
543 | return BAD_APICID; | 536 | return BAD_APICID; |