206-mips-disable-vdso.patch 795 B

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