aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/mmzone_32.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/x86/include/asm/mmzone_32.h b/arch/x86/include/asm/mmzone_32.h
index eeacf67de49e..ede6998bd92c 100644
--- a/arch/x86/include/asm/mmzone_32.h
+++ b/arch/x86/include/asm/mmzone_32.h
@@ -92,12 +92,8 @@ static inline int pfn_valid(int pfn)
92 92
93#ifdef CONFIG_NEED_MULTIPLE_NODES 93#ifdef CONFIG_NEED_MULTIPLE_NODES
94/* always use node 0 for bootmem on this numa platform */ 94/* always use node 0 for bootmem on this numa platform */
95#define alloc_bootmem_core(__bdata, size, align, goal, limit) \ 95#define bootmem_arch_preferred_node(__bdata, size, align, goal, limit) \
96({ \ 96 (NODE_DATA(0)->bdata)
97 bootmem_data_t __maybe_unused * __abm_bdata_dummy = (__bdata); \
98 __alloc_bootmem_core(NODE_DATA(0)->bdata, \
99 (size), (align), (goal), (limit)); \
100})
101#endif /* CONFIG_NEED_MULTIPLE_NODES */ 97#endif /* CONFIG_NEED_MULTIPLE_NODES */
102 98
103#endif /* _ASM_X86_MMZONE_32_H */ 99#endif /* _ASM_X86_MMZONE_32_H */