Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Johan Almbladh and committed by
Daniel Borkmann
099f83aa 79364031

+1 -1
+1 -1
arch/mips/net/bpf_jit_comp.h
··· 98 98 #define emit(...) __emit(__VA_ARGS__) 99 99 100 100 /* Workaround for R10000 ll/sc errata */ 101 - #ifdef CONFIG_WAR_R10000 101 + #ifdef CONFIG_WAR_R10000_LLSC 102 102 #define LLSC_beqz beqzl 103 103 #else 104 104 #define LLSC_beqz beqz