summaryrefslogtreecommitdiff
path: root/target/linux/ramips/patches/115-rt-timer-build-error.patch
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-14 23:42:26 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-09-14 23:42:26 +0200
commitb395e3b40e026a437b7179b78f1beddf2d02a7bc (patch)
treef3118474a7af11fffb228915dcffd7f2580d26ee /target/linux/ramips/patches/115-rt-timer-build-error.patch
parente266de11dcd0b2d71c445b943bef2f50258fa314 (diff)
downloadmtk-20170518-b395e3b40e026a437b7179b78f1beddf2d02a7bc.zip
mtk-20170518-b395e3b40e026a437b7179b78f1beddf2d02a7bc.tar.gz
mtk-20170518-b395e3b40e026a437b7179b78f1beddf2d02a7bc.tar.bz2
target/linux/ramips: add all patches
Diffstat (limited to 'target/linux/ramips/patches/115-rt-timer-build-error.patch')
-rwxr-xr-xtarget/linux/ramips/patches/115-rt-timer-build-error.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ramips/patches/115-rt-timer-build-error.patch b/target/linux/ramips/patches/115-rt-timer-build-error.patch
new file mode 100755
index 0000000..223932a
--- /dev/null
+++ b/target/linux/ramips/patches/115-rt-timer-build-error.patch
@@ -0,0 +1,14 @@
+Index: linux-3.10.14/arch/mips/ralink/rt_timer.c
+===================================================================
+--- linux-3.10.14.orig/arch/mips/ralink/rt_timer.c
++++ linux-3.10.14/arch/mips/ralink/rt_timer.c
+@@ -51,7 +51,9 @@
+ #include <linux/kernel.h>
+ #include <linux/init.h>
+ #include <linux/timer.h>
++#if LINUX_VERSION_CODE < KERNEL_VERSION(3,10,14)
+ #include <asm/system.h>
++#endif
+ #include <asm/uaccess.h>
+ #include <asm/rt2880/surfboardint.h>
+ #include <linux/interrupt.h>