summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-4.0
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-02 20:33:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-02 20:33:02 +0000
commit9386d8eb982305e08eb52a63742294e71cecbac0 (patch)
tree88a6b745028d0be51185c4b4d72591fdd74fc360 /target/linux/generic/patches-4.0
parent978830466a3781b85ce318ad14e92915babd62a0 (diff)
downloadmtk-20170518-9386d8eb982305e08eb52a63742294e71cecbac0.zip
mtk-20170518-9386d8eb982305e08eb52a63742294e71cecbac0.tar.gz
mtk-20170518-9386d8eb982305e08eb52a63742294e71cecbac0.tar.bz2
kernel: revert a broken chunk in the mips module reloc patch fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44592
Diffstat (limited to 'target/linux/generic/patches-4.0')
-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 a9f10e1..dae50a9 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
@@ -155,7 +155,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;