807d57904471ae60352d73103fc2815d8b19eabc
[openwrt/openwrt.git] / target / linux / generic / pending-4.9 / 206-mips-disable-vdso.patch
1 From: Felix Fietkau <nbd@nbd.name>
2 Subject: kernel: disable MIPS VDSO by default until the cache issues have been resolved
3
4 lede-commit: 1185e645a773c86aa88cf04d0e2911dc62eb43f5
5 Signed-off-by: Felix Fietkau <nbd@nbd.name>
6 ---
7 arch/mips/vdso/Makefile | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
9
10 --- a/arch/mips/vdso/Makefile
11 +++ b/arch/mips/vdso/Makefile
12 @@ -28,9 +28,9 @@ aflags-vdso := $(ccflags-vdso) \
13 ifndef CONFIG_CPU_MIPSR6
14 ifeq ($(call ld-ifversion, -lt, 225000000, y),y)
15 $(warning MIPS VDSO requires binutils >= 2.25)
16 - obj-vdso-y := $(filter-out gettimeofday.o, $(obj-vdso-y))
17 - ccflags-vdso += -DDISABLE_MIPS_VDSO
18 endif
19 + obj-vdso-y := $(filter-out gettimeofday.o, $(obj-vdso-y))
20 + ccflags-vdso += -DDISABLE_MIPS_VDSO
21 endif
22
23 # VDSO linker flags.