new file mode 100644
@@ -0,0 +1,19 @@
+Index: linux-3.18.14/arch/mips/Makefile
+===================================================================
+--- linux-3.18.14.orig/arch/mips/Makefile 2015-06-05 09:52:08.144682065 +0800
++++ linux-3.18.14/arch/mips/Makefile 2015-06-05 09:58:40.472673911 +0800
+@@ -94,9 +94,14 @@
+ KBUILD_AFLAGS_MODULE += -mlong-calls
+ KBUILD_CFLAGS_MODULE += -mlong-calls
+ else
++ifdef CONFIG_HIGHMEM
++KBUILD_AFLAGS_MODULE += -mlong-calls
++KBUILD_CFLAGS_MODULE += -mlong-calls
++else
+ KBUILD_AFLAGS_MODULE += -mno-long-calls
+ KBUILD_CFLAGS_MODULE += -mno-long-calls
+ endif
++endif
+
+ ifndef CONFIG_FUNCTION_TRACER
+ KBUILD_CFLAGS_KERNEL += -ffunction-sections -fdata-sections
Signed-off-by: wengbj <fl.service@t-firefly.com> --- ...ing-long-jump-when-memory-more-then-256mb.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 target/linux/ramips/patches-3.18/0112-using-long-jump-when-memory-more-then-256mb.patch