aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2016-02-25 22:31:51 +0000
committerHauke Mehrtens <hauke@openwrt.org>2016-02-25 22:31:51 +0000
commita27dae551ead7173145cf6168c88b1ab8412e315 (patch)
treef66539b91dbc5f2fc0974eb0d712f036ea078b6a
parent5a7dbf4040d6a4121bc94ce7babd38f5d9aa1eb5 (diff)
downloadmaster-187ad058-a27dae551ead7173145cf6168c88b1ab8412e315.tar.gz
master-187ad058-a27dae551ead7173145cf6168c88b1ab8412e315.tar.bz2
master-187ad058-a27dae551ead7173145cf6168c88b1ab8412e315.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48787 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 0000000000..a77bdf84fe
--- /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 := \