aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/numa_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/numa_64.h')
-rw-r--r--arch/x86/include/asm/numa_64.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/x86/include/asm/numa_64.h b/arch/x86/include/asm/numa_64.h
index 506dd050ff30..0c05f7ae46e8 100644
--- a/arch/x86/include/asm/numa_64.h
+++ b/arch/x86/include/asm/numa_64.h
@@ -1,25 +1,6 @@
1#ifndef _ASM_X86_NUMA_64_H 1#ifndef _ASM_X86_NUMA_64_H
2#define _ASM_X86_NUMA_64_H 2#define _ASM_X86_NUMA_64_H
3 3
4#define ZONE_ALIGN (1UL << (MAX_ORDER+PAGE_SHIFT))
5
6extern int numa_off;
7
8extern unsigned long numa_free_all_bootmem(void); 4extern unsigned long numa_free_all_bootmem(void);
9 5
10#ifdef CONFIG_NUMA
11/*
12 * Too small node sizes may confuse the VM badly. Usually they
13 * result from BIOS bugs. So dont recognize nodes as standalone
14 * NUMA entities that have less than this amount of RAM listed:
15 */
16#define NODE_MIN_SIZE (4*1024*1024)
17
18#ifdef CONFIG_NUMA_EMU
19#define FAKE_NODE_MIN_SIZE ((u64)32 << 20)
20#define FAKE_NODE_MIN_HASH_MASK (~(FAKE_NODE_MIN_SIZE - 1UL))
21void numa_emu_cmdline(char *);
22#endif /* CONFIG_NUMA_EMU */
23#endif
24
25#endif /* _ASM_X86_NUMA_64_H */ 6#endif /* _ASM_X86_NUMA_64_H */