From 761845f0f68cf6eba9cad0a58d977b89f8d4486f Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 18 Sep 2013 14:54:37 +0200 Subject: MIPS: Use NUMA_NO_NODE instead of -1 for node ID. Original patch by Jianguo Wu . Signed-off-by: Ralf Baechle --- arch/mips/kernel/module.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'arch/mips/kernel/module.c') diff --git a/arch/mips/kernel/module.c b/arch/mips/kernel/module.c index 977a623d925..2a52568dbcd 100644 --- a/arch/mips/kernel/module.c +++ b/arch/mips/kernel/module.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -46,7 +47,7 @@ static DEFINE_SPINLOCK(dbe_lock); void *module_alloc(unsigned long size) { return __vmalloc_node_range(size, 1, MODULE_START, MODULE_END, - GFP_KERNEL, PAGE_KERNEL, -1, + GFP_KERNEL, PAGE_KERNEL, NUMA_NO_NODE, __builtin_return_address(0)); } #endif -- cgit v1.2.3-70-g09d2