Skip to content

Commit 099f83a

Browse files
Johan Almbladhborkmann
authored andcommitted
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: 7257022 ("mips, bpf: Add JIT workarounds for CPU errata") Reported-by: Lukas Bulwahn <[email protected]> Signed-off-by: Johan Almbladh <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent 7936403 commit 099f83a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/net/bpf_jit_comp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ do { \
9898
#define emit(...) __emit(__VA_ARGS__)
9999

100100
/* Workaround for R10000 ll/sc errata */
101-
#ifdef CONFIG_WAR_R10000
101+
#ifdef CONFIG_WAR_R10000_LLSC
102102
#define LLSC_beqz beqzl
103103
#else
104104
#define LLSC_beqz beqz

0 commit comments

Comments
 (0)