diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-01-28 10:31:52 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-01-28 17:20:33 -0500 |
commit | 7bd06ec63a1204ca44b9f1dc487b8632016162d1 (patch) | |
tree | f9c89011185f9ba4be2a20e7d9fed14f3b50ab7e /arch/x86/include/asm/mach-default | |
parent | 333344d94300500e401cffb4eea10a5ab6e5a41d (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/include/asm/mach-default')
-rw-r--r-- | arch/x86/include/asm/mach-default/mach_wakecpu.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/x86/include/asm/mach-default/mach_wakecpu.h b/arch/x86/include/asm/mach-default/mach_wakecpu.h index d059807cd7e8..656bb5e52bcc 100644 --- a/arch/x86/include/asm/mach-default/mach_wakecpu.h +++ b/arch/x86/include/asm/mach-default/mach_wakecpu.h | |||
@@ -8,14 +8,6 @@ static inline void default_wait_for_init_deassert(atomic_t *deassert) | |||
8 | return; | 8 | return; |
9 | } | 9 | } |
10 | 10 | ||
11 | static inline void store_NMI_vector(unsigned short *high, unsigned short *low) | ||
12 | { | ||
13 | } | ||
14 | |||
15 | static inline void restore_NMI_vector(unsigned short *high, unsigned short *low) | ||
16 | { | ||
17 | } | ||
18 | |||
19 | #ifdef CONFIG_SMP | 11 | #ifdef CONFIG_SMP |
20 | extern void __inquire_remote_apic(int apicid); | 12 | extern void __inquire_remote_apic(int apicid); |
21 | #else /* CONFIG_SMP */ | 13 | #else /* CONFIG_SMP */ |