summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2016-02-25 22:31:51 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2016-02-25 22:31:51 +0000
commiteea54160a1348acb338ec70b1700f6e7ee475e50 (patch)
treeb9bcfa97009f7bb4cb38989d7e40cd5def798422 /target
parent9c394f4cbeaba21a1317bb2516636cf0c67c6da6 (diff)
downloadmtk-20170518-eea54160a1348acb338ec70b1700f6e7ee475e50.zip
mtk-20170518-eea54160a1348acb338ec70b1700f6e7ee475e50.tar.gz
mtk-20170518-eea54160a1348acb338ec70b1700f6e7ee475e50.tar.bz2
kernel: deactivate the vdso gettimeofday function.
The vdso version of this function has some problems with the cache. Very often it works on dated data which causes problem. We are currently working on fixing this in upstream Linux kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48787
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic/patches-4.4/340-MIPS-deactivate-gettimeofday-vdso.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/generic/patches-4.4/340-MIPS-deactivate-gettimeofday-vdso.patch b/target/linux/generic/patches-4.4/340-MIPS-deactivate-gettimeofday-vdso.patch
new file mode 100644
index 0000000..a77bdf8
--- /dev/null
+++ b/target/linux/generic/patches-4.4/340-MIPS-deactivate-gettimeofday-vdso.patch
@@ -0,0 +1,9 @@
+--- a/arch/mips/vdso/Makefile
++++ b/arch/mips/vdso/Makefile
+@@ -1,5 +1,5 @@
+ # Objects to go into the VDSO.
+-obj-vdso-y := elf.o gettimeofday.o sigreturn.o
++obj-vdso-y := elf.o sigreturn.o
+
+ # Common compiler flags between ABIs.
+ ccflags-vdso := \