提交 330f4c53 编写于 作者: E Emmanuel Gil Peyrot 提交者: Linus Torvalds

ARM: fix build error when BPF_SYSCALL is disabled

It was missing a semicolon.
Signed-off-by: NEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Reviewed-by: NNathan Chancellor <nathan@kernel.org>
Fixes: 25875aa7 ("ARM: include unprivileged BPF status in Spectre V2 reporting").
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 4f86a6b4
...@@ -10,7 +10,7 @@ static bool _unprivileged_ebpf_enabled(void) ...@@ -10,7 +10,7 @@ static bool _unprivileged_ebpf_enabled(void)
#ifdef CONFIG_BPF_SYSCALL #ifdef CONFIG_BPF_SYSCALL
return !sysctl_unprivileged_bpf_disabled; return !sysctl_unprivileged_bpf_disabled;
#else #else
return false return false;
#endif #endif
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册