206-mips-disable-vdso.patch 643 B

123456789101112131415161718192021
  1. Disable MIPS VDSO until the cache issues have been sorted out.
  2. Signed-off-by: Felix Fietkau <nbd@nbd.name>
  3. --- a/arch/mips/vdso/Makefile
  4. +++ b/arch/mips/vdso/Makefile
  5. @@ -30,11 +30,11 @@ aflags-vdso := $(ccflags-vdso) \
  6. # the comments on that file.
  7. #
  8. ifndef CONFIG_CPU_MIPSR6
  9. - ifeq ($(call ld-ifversion, -lt, 22500000, y),y)
  10. - $(warning MIPS VDSO requires binutils >= 2.25)
  11. +# ifeq ($(call ld-ifversion, -lt, 22500000, y),y)
  12. +# $(warning MIPS VDSO requires binutils >= 2.25)
  13. obj-vdso-y := $(filter-out gettimeofday.o, $(obj-vdso-y))
  14. ccflags-vdso += -DDISABLE_MIPS_VDSO
  15. - endif
  16. +# endif
  17. endif
  18. # VDSO linker flags.