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/kernel/apic/es7000_32.c | |
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/kernel/apic/es7000_32.c')
-rw-r--r-- | arch/x86/kernel/apic/es7000_32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic/es7000_32.c b/arch/x86/kernel/apic/es7000_32.c index 80de0d78cbca..9536b3fe43f8 100644 --- a/arch/x86/kernel/apic/es7000_32.c +++ b/arch/x86/kernel/apic/es7000_32.c | |||
@@ -620,7 +620,7 @@ static int es7000_mps_oem_check_cluster(struct mpc_table *mpc, char *oem, | |||
620 | } | 620 | } |
621 | 621 | ||
622 | /* We've been warned by a false positive warning.Use __refdata to keep calm. */ | 622 | /* We've been warned by a false positive warning.Use __refdata to keep calm. */ |
623 | struct apic __refdata apic_es7000_cluster = { | 623 | static struct apic __refdata apic_es7000_cluster = { |
624 | 624 | ||
625 | .name = "es7000", | 625 | .name = "es7000", |
626 | .probe = probe_es7000, | 626 | .probe = probe_es7000, |
@@ -685,7 +685,7 @@ struct apic __refdata apic_es7000_cluster = { | |||
685 | .x86_32_early_logical_apicid = es7000_early_logical_apicid, | 685 | .x86_32_early_logical_apicid = es7000_early_logical_apicid, |
686 | }; | 686 | }; |
687 | 687 | ||
688 | struct apic __refdata apic_es7000 = { | 688 | static struct apic __refdata apic_es7000 = { |
689 | 689 | ||
690 | .name = "es7000", | 690 | .name = "es7000", |
691 | .probe = probe_es7000, | 691 | .probe = probe_es7000, |