diff options
author | Suresh Siddha <suresh.b.siddha@intel.com> | 2011-05-20 17:51:17 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-05-22 11:48:03 +0200 |
commit | 107e0e0cd85beeee05af7ea374fda14d037ee500 (patch) | |
tree | bf39fe1f0e8cfc4ab0f8510859882537f96afcb7 /arch/x86/kernel/apic/numaq_32.c | |
parent | 79deb8e511bd6fc8e40add4da75b19df085d9453 (diff) | |
download | linux-107e0e0cd85beeee05af7ea374fda14d037ee500.tar.gz linux-107e0e0cd85beeee05af7ea374fda14d037ee500.tar.bz2 linux-107e0e0cd85beeee05af7ea374fda14d037ee500.zip |
x86, apic: Introduce .apicdrivers section to find the list of apic drivers
This will pave the way for each apic driver to be self-contained
and eliminate the need for apic_probe[].
Order in which apic drivers are listed in the .apicdrivers
section is important, as this determines the apic probe order.
And this is enforced by the ordering of apic driver files in the
Makefile and the macros apic_driver()/apic_drivers().
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.068775085@sbsiddha-MOBL3.sc.intel.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic/numaq_32.c')
-rw-r--r-- | arch/x86/kernel/apic/numaq_32.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic/numaq_32.c b/arch/x86/kernel/apic/numaq_32.c index 30f13319e24b..4caab0d13d99 100644 --- a/arch/x86/kernel/apic/numaq_32.c +++ b/arch/x86/kernel/apic/numaq_32.c @@ -537,3 +537,5 @@ struct apic __refdata apic_numaq = { .x86_32_early_logical_apicid = noop_x86_32_early_logical_apicid, .x86_32_numa_cpu_node = numaq_numa_cpu_node, }; + +apic_driver(apic_numaq); |