summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/numaq/wakecpu.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-28 18:47:24 +0100
committerIngo Molnar <mingo@elte.hu>2009-01-28 23:20:37 +0100
commit5a44632f77a9c867621f7bf80c233eac75fea672 (patch)
tree48a89d50ab1e4d8f46c663631efdb0913c5c1f58 /arch/x86/include/asm/numaq/wakecpu.h
parent328386d7ab600aa0993a1226f5817ac30a735724 (diff)
downloadtalos-op-linux-5a44632f77a9c867621f7bf80c233eac75fea672.tar.gz
talos-op-linux-5a44632f77a9c867621f7bf80c233eac75fea672.zip
x86, numaq: consolidate code
Move all the NUMAQ subarch definitions into numaq.c. With this it ceases to depend on build-time subarch features. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/numaq/wakecpu.h')
-rw-r--r--arch/x86/include/asm/numaq/wakecpu.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/arch/x86/include/asm/numaq/wakecpu.h b/arch/x86/include/asm/numaq/wakecpu.h
deleted file mode 100644
index afe81439c7db..000000000000
--- a/arch/x86/include/asm/numaq/wakecpu.h
+++ /dev/null
@@ -1,28 +0,0 @@
-#ifndef __ASM_NUMAQ_WAKECPU_H
-#define __ASM_NUMAQ_WAKECPU_H
-
-/* This file copes with machines that wakeup secondary CPUs by NMIs */
-
-#define NUMAQ_TRAMPOLINE_PHYS_LOW (0x8)
-#define NUMAQ_TRAMPOLINE_PHYS_HIGH (0xa)
-
-/*
- * Because we use NMIs rather than the INIT-STARTUP sequence to
- * bootstrap the CPUs, the APIC may be in a weird state. Kick it:
- */
-static inline void numaq_smp_callin_clear_local_apic(void)
-{
- clear_local_APIC();
-}
-
-static inline void
-numaq_store_NMI_vector(unsigned short *high, unsigned short *low)
-{
- printk("Storing NMI vector\n");
- *high =
- *((volatile unsigned short *)phys_to_virt(NUMAQ_TRAMPOLINE_PHYS_HIGH));
- *low =
- *((volatile unsigned short *)phys_to_virt(NUMAQ_TRAMPOLINE_PHYS_LOW));
-}
-
-#endif /* __ASM_NUMAQ_WAKECPU_H */
OpenPOWER on IntegriCloud