x86, apic: Introduce .apicdrivers section to find the list of apic drivers
authorSuresh Siddha <suresh.b.siddha@intel.com>
Sat, 21 May 2011 00:51:17 +0000 (17:51 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 22 May 2011 09:48:03 +0000 (11:48 +0200)
commit107e0e0cd85beeee05af7ea374fda14d037ee500
treebf39fe1f0e8cfc4ab0f8510859882537f96afcb7
parent79deb8e511bd6fc8e40add4da75b19df085d9453
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>
12 files changed:
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/Makefile
arch/x86/kernel/apic/apic_flat_64.c
arch/x86/kernel/apic/bigsmp_32.c
arch/x86/kernel/apic/es7000_32.c
arch/x86/kernel/apic/numaq_32.c
arch/x86/kernel/apic/probe_32.c
arch/x86/kernel/apic/summit_32.c
arch/x86/kernel/apic/x2apic_cluster.c
arch/x86/kernel/apic/x2apic_phys.c
arch/x86/kernel/apic/x2apic_uv_x.c
arch/x86/kernel/vmlinux.lds.S