summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2022-03-08 20:18:20 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2022-03-08 12:53:05 -0800
commit330f4c53d3c2d8b11d86ec03a964b86dc81452f5 (patch)
tree081bc041be978def4f44d047be8ec324f308b20b /arch
parent4f86a6b46e5377a300b1d49f51c687450f72fb6d (diff)
ARM: fix build error when BPF_SYSCALL is disabled
It was missing a semicolon. Signed-off-by: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Fixes: 25875aa71dfe ("ARM: include unprivileged BPF status in Spectre V2 reporting"). Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/kernel/spectre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/spectre.c b/arch/arm/kernel/spectre.c
index e7fea962d632..0dcefc36fb7a 100644
--- a/arch/arm/kernel/spectre.c
+++ b/arch/arm/kernel/spectre.c
@@ -10,7 +10,7 @@ static bool _unprivileged_ebpf_enabled(void)
#ifdef CONFIG_BPF_SYSCALL
return !sysctl_unprivileged_bpf_disabled;
#else
- return false
+ return false;
#endif
}