aboutsummaryrefslogtreecommitdiffstats
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
commitb4f4cb29ec0f508c7e766fd8fa95c9193be63ad0 (patch)
treeee41f22efd32af497fa0c33b4758729517e095be
parent87059ddca3996f988a7d5e51a9c8890ef75a168b (diff)
downloadupstream-b4f4cb29ec0f508c7e766fd8fa95c9193be63ad0.tar.gz
upstream-b4f4cb29ec0f508c7e766fd8fa95c9193be63ad0.tar.bz2
upstream-b4f4cb29ec0f508c7e766fd8fa95c9193be63ad0.zip
kernel: revert a broken chunk in the mips module reloc patch fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44592 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 a9f10e1bdc..dae50a9035 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;