diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:34:10 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:34:10 -0500 |
commit | 8550eb99821b3f78cddfd19964f30e8bc4e429e0 (patch) | |
tree | 0384ed8bb2aefead53201ab5499f3df15e21a10f /include/asm-x86 | |
parent | 10f22dde556d1ed41d55355d1fb8ad495f9810c8 (diff) |
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')
-rw-r--r-- | include/asm-x86/bugs.h | 3 | ||||
-rw-r--r-- | include/asm-x86/numa_32.h | 14 |
2 files changed, 15 insertions, 2 deletions
diff --git a/include/asm-x86/bugs.h b/include/asm-x86/bugs.h index aac8317420af..3fcc30dc0731 100644 --- a/include/asm-x86/bugs.h +++ b/include/asm-x86/bugs.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #ifndef _ASM_X86_BUGS_H | 1 | #ifndef _ASM_X86_BUGS_H |
2 | #define _ASM_X86_BUGS_H | 2 | #define _ASM_X86_BUGS_H |
3 | 3 | ||
4 | void check_bugs(void); | 4 | extern void check_bugs(void); |
5 | extern int ppro_with_ram_bug(void); | ||
5 | 6 | ||
6 | #endif /* _ASM_X86_BUGS_H */ | 7 | #endif /* _ASM_X86_BUGS_H */ |
diff --git a/include/asm-x86/numa_32.h b/include/asm-x86/numa_32.h index 96fcb157db1d..03d0f7a9bf02 100644 --- a/include/asm-x86/numa_32.h +++ b/include/asm-x86/numa_32.h | |||
@@ -1,3 +1,15 @@ | |||
1 | #ifndef _ASM_X86_32_NUMA_H | ||
2 | #define _ASM_X86_32_NUMA_H 1 | ||
1 | 3 | ||
2 | int pxm_to_nid(int pxm); | 4 | extern int pxm_to_nid(int pxm); |
3 | 5 | ||
6 | #ifdef CONFIG_NUMA | ||
7 | extern void __init remap_numa_kva(void); | ||
8 | extern void set_highmem_pages_init(int); | ||
9 | #else | ||
10 | static inline void remap_numa_kva(void) | ||
11 | { | ||
12 | } | ||
13 | #endif | ||
14 | |||
15 | #endif /* _ASM_X86_32_NUMA_H */ | ||