linux-stable/arch
Björn Töpel f47d4ffe3a riscv, bpf: Fix RV32 broken build, and silence RV64 warning
Commit 252c765bd7 ("riscv, bpf: Add BPF exception tables") only addressed
RV64, and broke the RV32 build [1]. Fix by gating the exception tables code
with CONFIG_ARCH_RV64I.

Further, silence a "-Wmissing-prototypes" warning [2] in the RV64 BPF JIT.

  [1] https://lore.kernel.org/llvm/202111020610.9oy9Rr0G-lkp@intel.com/
  [2] https://lore.kernel.org/llvm/202110290334.2zdMyRq4-lkp@intel.com/

Fixes: 252c765bd7 ("riscv, bpf: Add BPF exception tables")
Signed-off-by: Björn Töpel <bjorn@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Tong Tiangen <tongtiangen@huawei.com>
Link: https://lore.kernel.org/bpf/20211103115453.397209-1-bjorn@kernel.org
2021-11-05 16:52:34 +01:00
..
alpha Core: 2021-11-02 06:20:58 -07:00
arc Tracing updates for 5.16: 2021-11-01 20:05:19 -07:00
arm Core: 2021-11-02 06:20:58 -07:00
arm64 Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2021-11-01 21:24:02 -07:00
csky Tracing updates for 5.16: 2021-11-01 20:05:19 -07:00
h8300 Scheduler updates: 2021-11-01 13:48:52 -07:00
hexagon sched: Add wrapper for get_wchan() to keep task blocked 2021-10-15 11:25:14 +02:00
ia64 audit/stable-5.16 PR 20211101 2021-11-01 21:17:39 -07:00
m68k Core: 2021-11-02 06:20:58 -07:00
microblaze Tracing updates for 5.16: 2021-11-01 20:05:19 -07:00
mips Core: 2021-11-02 06:20:58 -07:00
nds32 Tracing updates for 5.16: 2021-11-01 20:05:19 -07:00
nios2 Scheduler updates: 2021-11-01 13:48:52 -07:00
openrisc Scheduler updates: 2021-11-01 13:48:52 -07:00
parisc Core: 2021-11-02 06:20:58 -07:00
powerpc audit/stable-5.16 PR 20211101 2021-11-01 21:17:39 -07:00
riscv riscv, bpf: Fix RV32 broken build, and silence RV64 warning 2021-11-05 16:52:34 +01:00
s390 Core: 2021-11-02 06:20:58 -07:00
sh RCU pull request for v5.16 2021-11-01 20:25:38 -07:00
sparc Core: 2021-11-02 06:20:58 -07:00
um Core: 2021-11-02 06:20:58 -07:00
x86 - Do not #GP on userspace use of CLI/STI but pretend it was a NOP to 2021-11-02 07:56:47 -07:00
xtensa Core: 2021-11-02 06:20:58 -07:00
.gitignore
Kconfig Tracing updates for 5.16: 2021-11-01 20:05:19 -07:00