summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-4.0/305-mips_module_reloc.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2015-02-24 18:53:14 +0000
committerImre Kaloz <kaloz@openwrt.org>2015-02-24 18:53:14 +0000
commitf76a752c5768ba7e58fcacf43bef0afd756b81af (patch)
treea3d35129946daa60d66cf6718eaa0e17a2226611 /target/linux/generic/patches-4.0/305-mips_module_reloc.patch
parent11e93be20d363630dcaca8d2bb7febe2c82ecb06 (diff)
downloadmtk-20170518-f76a752c5768ba7e58fcacf43bef0afd756b81af.zip
mtk-20170518-f76a752c5768ba7e58fcacf43bef0afd756b81af.tar.gz
mtk-20170518-f76a752c5768ba7e58fcacf43bef0afd756b81af.tar.bz2
generic/4.0: refresh patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 44532
Diffstat (limited to 'target/linux/generic/patches-4.0/305-mips_module_reloc.patch')
-rw-r--r--target/linux/generic/patches-4.0/305-mips_module_reloc.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/patches-4.0/305-mips_module_reloc.patch b/target/linux/generic/patches-4.0/305-mips_module_reloc.patch
index 2e92916..752d597 100644
--- a/target/linux/generic/patches-4.0/305-mips_module_reloc.patch
+++ b/target/linux/generic/patches-4.0/305-mips_module_reloc.patch
@@ -150,7 +150,7 @@
{
+#ifdef MODULE_START
return __vmalloc_node_range(size, 1, MODULE_START, MODULE_END,
- GFP_KERNEL, PAGE_KERNEL, NUMA_NO_NODE,
+ GFP_KERNEL, PAGE_KERNEL, 0, NUMA_NO_NODE,
__builtin_return_address(0));
+#else
+ void *ptr;