aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7/patches-4.1/100-fix-highmem-offset.patch
diff options
context:
space:
mode:
authorJames <>2015-09-26 12:29:31 +0100
committerJames <>2015-09-26 12:29:31 +0100
commit626d9efa74685720020e816f3a917b7591d3cf7a (patch)
treed22eef73ae82287b30a1140decb4fc806d39d621 /target/linux/ar7/patches-4.1/100-fix-highmem-offset.patch
downloadtrunk-47048-626d9efa74685720020e816f3a917b7591d3cf7a.tar.gz
trunk-47048-626d9efa74685720020e816f3a917b7591d3cf7a.tar.bz2
trunk-47048-626d9efa74685720020e816f3a917b7591d3cf7a.zip
trunk-47048
Diffstat (limited to 'target/linux/ar7/patches-4.1/100-fix-highmem-offset.patch')
-rw-r--r--target/linux/ar7/patches-4.1/100-fix-highmem-offset.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ar7/patches-4.1/100-fix-highmem-offset.patch b/target/linux/ar7/patches-4.1/100-fix-highmem-offset.patch
new file mode 100644
index 0000000..f1a7549
--- /dev/null
+++ b/target/linux/ar7/patches-4.1/100-fix-highmem-offset.patch
@@ -0,0 +1,11 @@
+--- a/arch/mips/include/asm/mach-ar7/spaces.h
++++ b/arch/mips/include/asm/mach-ar7/spaces.h
+@@ -20,6 +20,8 @@
+ #define UNCAC_BASE _AC(0xb4000000, UL) /* 0xa0000000 + PHYS_OFFSET */
+ #define IO_BASE UNCAC_BASE
+
++#define HIGHMEM_START _AC(0x20000000, UL)
++
+ #include <asm/mach-generic/spaces.h>
+
+ #endif /* __ASM_AR7_SPACES_H */