Skip to content

Commit

Permalink
mips, bpf: Fix reference to non-existing Kconfig symbol
Browse files Browse the repository at this point in the history
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 <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
  • Loading branch information
Johan Almbladh authored and borkmann committed Nov 30, 2021
1 parent 7936403 commit 099f83a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/net/bpf_jit_comp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 099f83a

Please sign in to comment.