summaryrefslogtreecommitdiff
path: root/arch/parisc
diff options
context:
space:
mode:
authorJianguo Wu <wujianguo@huawei.com>2013-11-12 15:07:27 -0800
committerIshan Mittal <imittal@nvidia.com>2014-04-30 15:04:15 +0530
commit10513d9aae368e725d1b18cede08d7401adbb50e (patch)
treefb53b72bdd3ec18b608d98a76a0180828c8725c4 /arch/parisc
parent360ac92f8e8fcc5ee725a9372bf63a583afca57d (diff)
mm/arch: use NUMA_NO_NODE
Use more appropriate NUMA_NO_NODE instead of -1 in all archs' module_alloc() Signed-off-by: Jianguo Wu <wujianguo@huawei.com> Acked-by: David Rientjes <rientjes@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> (cherry picked from commit 40c3baa7c66f1352521378ee83509fb8f4c465de) Signed-off-by: Ishan Mittal <imittal@nvidia.com>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/kernel/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/module.c b/arch/parisc/kernel/module.c
index 2a625fb063e1..50dfafc3f2c1 100644
--- a/arch/parisc/kernel/module.c
+++ b/arch/parisc/kernel/module.c
@@ -219,7 +219,7 @@ void *module_alloc(unsigned long size)
* init_data correctly */
return __vmalloc_node_range(size, 1, VMALLOC_START, VMALLOC_END,
GFP_KERNEL | __GFP_HIGHMEM,
- PAGE_KERNEL_RWX, -1,
+ PAGE_KERNEL_RWX, NUMA_NO_NODE,
__builtin_return_address(0));
}