OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cffe00c
)
MIPS: Use NUMA_NO_NODE instead of -1 for node ID.
author
Ralf Baechle
<ralf@linux-mips.org>
Wed, 18 Sep 2013 12:54:37 +0000
(14:54 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 29 Oct 2013 20:24:14 +0000
(21:24 +0100)
Original patch by Jianguo Wu <wujianguo@huawei.com>.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/module.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/module.c
b/arch/mips/kernel/module.c
index
977a623
..
2a52568
100644
(file)
--- a/
arch/mips/kernel/module.c
+++ b/
arch/mips/kernel/module.c
@@
-23,6
+23,7
@@
#include <linux/moduleloader.h>
#include <linux/elf.h>
#include <linux/mm.h>
+#include <linux/numa.h>
#include <linux/vmalloc.h>
#include <linux/slab.h>
#include <linux/fs.h>
@@
-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