summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Almbladh <johan.almbladh@anyfinetworks.com>2021-11-30 17:08:24 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2021-11-30 17:19:36 +0100
commit099f83aa2d06680d5987e43fed1afeda14b5037e (patch)
tree11ee00a8c012f025d9ff6a453d0e020634923a1c
parent79364031c5b4365ca28ac0fa00acfab5bf465be1 (diff)
downloadlinux-099f83aa2d06680d5987e43fed1afeda14b5037e.tar.bz2
mips, bpf: Fix reference to non-existing Kconfig symbol
The Kconfig symbol for R10000 ll/sc errata workaround in the MIPS JIT was misspelled, causing the workaround to not take effect when enabled. Fixes: 72570224bb8f ("mips, bpf: Add JIT workarounds for CPU errata") Reported-by: Lukas Bulwahn <lukas.bulwahn@gmail.com> Signed-off-by: Johan Almbladh <johan.almbladh@anyfinetworks.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20211130160824.3781635-1-johan.almbladh@anyfinetworks.com
-rw-r--r--arch/mips/net/bpf_jit_comp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/net/bpf_jit_comp.h b/arch/mips/net/bpf_jit_comp.h
index 6f3a7b07294b..a37fe20818eb 100644
--- a/arch/mips/net/bpf_jit_comp.h
+++ b/arch/mips/net/bpf_jit_comp.h
@@ -98,7 +98,7 @@ do { \
#define emit(...) __emit(__VA_ARGS__)
/* Workaround for R10000 ll/sc errata */
-#ifdef CONFIG_WAR_R10000
+#ifdef CONFIG_WAR_R10000_LLSC
#define LLSC_beqz beqzl
#else
#define LLSC_beqz beqz