summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.18/950-vm_exports.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-10-27 22:55:39 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-10-27 22:55:39 +0000
commita76ee3b1d5dee92a13ba357e9baf2ad155976604 (patch)
tree38745103e28135d9d7fc5fbfbc64a5eb7f6f49d3 /target/linux/generic/patches-3.18/950-vm_exports.patch
parentcea2b5299b13fcfef7de2f194e833e545e9e0f2f (diff)
downloadmtk-20170518-a76ee3b1d5dee92a13ba357e9baf2ad155976604.zip
mtk-20170518-a76ee3b1d5dee92a13ba357e9baf2ad155976604.tar.gz
mtk-20170518-a76ee3b1d5dee92a13ba357e9baf2ad155976604.tar.bz2
kernel: make the kernel 3.18 patches apply and boot on arm.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 43095
Diffstat (limited to 'target/linux/generic/patches-3.18/950-vm_exports.patch')
-rw-r--r--target/linux/generic/patches-3.18/950-vm_exports.patch10
1 files changed, 1 insertions, 9 deletions
diff --git a/target/linux/generic/patches-3.18/950-vm_exports.patch b/target/linux/generic/patches-3.18/950-vm_exports.patch
index 0b99a33..d8dc186 100644
--- a/target/linux/generic/patches-3.18/950-vm_exports.patch
+++ b/target/linux/generic/patches-3.18/950-vm_exports.patch
@@ -72,15 +72,7 @@
* zap_page_range_single - remove user pages in a given range
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
-@@ -1231,6 +1231,7 @@ int map_kernel_range_noflush(unsigned lo
- {
- return vmap_page_range_noflush(addr, addr + size, prot, pages);
- }
-+EXPORT_SYMBOL_GPL(unmap_kernel_range);
-
- /**
- * unmap_kernel_range_noflush - unmap kernel VM area
-@@ -1372,6 +1373,7 @@ struct vm_struct *get_vm_area(unsigned l
+@@ -1372,6 +1372,7 @@ struct vm_struct *get_vm_area(unsigned l
NUMA_NO_NODE, GFP_KERNEL,
__builtin_return_address(0));
}