summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/numa_32.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-01-30 13:34:10 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:34:10 +0100
commit8550eb99821b3f78cddfd19964f30e8bc4e429e0 (patch)
tree0384ed8bb2aefead53201ab5499f3df15e21a10f /include/asm-x86/numa_32.h
parent10f22dde556d1ed41d55355d1fb8ad495f9810c8 (diff)
downloadop-kernel-dev-8550eb99821b3f78cddfd19964f30e8bc4e429e0.zip
op-kernel-dev-8550eb99821b3f78cddfd19964f30e8bc4e429e0.tar.gz
x86: arch/x86/mm/init_32.c cleanup
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/numa_32.h')
-rw-r--r--include/asm-x86/numa_32.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/asm-x86/numa_32.h b/include/asm-x86/numa_32.h
index 96fcb15..03d0f7a 100644
--- a/include/asm-x86/numa_32.h
+++ b/include/asm-x86/numa_32.h
@@ -1,3 +1,15 @@
+#ifndef _ASM_X86_32_NUMA_H
+#define _ASM_X86_32_NUMA_H 1
-int pxm_to_nid(int pxm);
+extern int pxm_to_nid(int pxm);
+#ifdef CONFIG_NUMA
+extern void __init remap_numa_kva(void);
+extern void set_highmem_pages_init(int);
+#else
+static inline void remap_numa_kva(void)
+{
+}
+#endif
+
+#endif /* _ASM_X86_32_NUMA_H */
OpenPOWER on IntegriCloud