[next] riscv: Linux next-20220404 riscv defconfig builds failed.

From: Naresh Kamboju
Date: Mon Apr 04 2022 - 05:59:01 EST

Linux next-20220404 riscv defconfig builds failed.

Regressions found on riscv:
- riscv-riscv-clang-14-defconfig
- riscv-riscv-gcc-10-defconfig
- riscv-riscv-clang-13-defconfig
- riscv-riscv-clang-12-defconfig
- riscv-riscv-clang-11-defconfig
- riscv-riscv-gcc-11-defconfig
- riscv-riscv-gcc-8-defconfig
- riscv-riscv-gcc-9-defconfig
- riscv-riscv-clang-nightly-defconfig

arch/riscv/kernel/compat_signal.c:7:10: fatal error:
linux/tracehook.h: No such file or directory
7 | #include <linux/tracehook.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.build:289:
arch/riscv/kernel/compat_signal.o] Error 1

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

git_describe: next-20220404
git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
git_sha: 696206280c5e5c028caf9fd259999cb72b1f6127
kconfig: defconfig
target_arch: riscv
toolchain: gcc-11

steps to reproduce:
# To install tuxmake on your system globally:
# sudo pip3 install -U tuxmake

tuxmake --runtime podman --target-arch riscv --toolchain gcc-11
--kconfig defconfig

Linaro LKFT

[1] https://builds.tuxbuild.com/27JdBBUbSHIhFJ9Wsq3Z6ssitb6/