Skip to contentSkip to conversation

MIPS: BPF: Disable JIT on R3000 (MIPS-I)

PATCH RESEND New Ben Hutchings 1 participant 1 message Oct 1, 2015 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 MIPS: BPF: Disable JIT on R3000 (MIPS-I)

The JIT does not include the load delay slots required by MIPS-I processors.

---
 arch/mips/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/Kconfig +1 -1
index 199a835..7ff9cba 100644
@@ -12,7 +12,7 @@ config MIPS
 	select HAVE_ARCH_KGDB
 	select HAVE_ARCH_SECCOMP_FILTER
 	select HAVE_ARCH_TRACEHOOK
-	select HAVE_BPF_JIT if !CPU_MICROMIPS
+	select HAVE_BPF_JIT if !CPU_MICROMIPS && !CPU_R3000
 	select ARCH_HAVE_CUSTOM_GPIO_H
 	select HAVE_FUNCTION_TRACER
 	select HAVE_DYNAMIC_FTRACE
Signature · 2 lines
Ben Hutchings
Knowledge is power.  France is bacon.