aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/mach-generic/bigsmp.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-28 10:31:52 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-28 17:20:33 -0500
commit7bd06ec63a1204ca44b9f1dc487b8632016162d1 (patch)
treef9c89011185f9ba4be2a20e7d9fed14f3b50ab7e /arch/x86/mach-generic/bigsmp.c
parent333344d94300500e401cffb4eea10a5ab6e5a41d (diff)
x86, smp: refactor ->store/restore_NMI_vector() methods
Only NUMAQ does something substantial here, because it initializes via NMIs (not via INIT as standard SMP startup) - so it needs to store and restore the NMI vector. - extend the generic code to handle NULL methods - clear out dummy methods and replace them with NULL - clean up: remove wrapper macros, etc. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/mach-generic/bigsmp.c')
-rw-r--r--arch/x86/mach-generic/bigsmp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/mach-generic/bigsmp.c b/arch/x86/mach-generic/bigsmp.c
index bd069e7b521c..ecdb230d0f2e 100644
--- a/arch/x86/mach-generic/bigsmp.c
+++ b/arch/x86/mach-generic/bigsmp.c
@@ -110,8 +110,7 @@ struct genapic apic_bigsmp = {
110 .wait_for_init_deassert = default_wait_for_init_deassert, 110 .wait_for_init_deassert = default_wait_for_init_deassert,
111 111
112 .smp_callin_clear_local_apic = NULL, 112 .smp_callin_clear_local_apic = NULL,
113 113 .store_NMI_vector = NULL,
114 .store_NMI_vector = store_NMI_vector, 114 .restore_NMI_vector = NULL,
115 .restore_NMI_vector = restore_NMI_vector,
116 .inquire_remote_apic = inquire_remote_apic, 115 .inquire_remote_apic = inquire_remote_apic,
117}; 116};