diff options
author | Jisheng Zhang <jszhang@kernel.org> | 2023-11-23 22:22:23 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-01-09 20:10:16 -0800 |
commit | cfbc4f81c9d0ea7d6b6726d55a93e859f51ef196 (patch) | |
tree | 14c5b2f4ec999526165c15b29ea46e8d63df8f39 /tools/testing/radix-tree/linux/xarray.h | |
parent | 5634d9c280d2c91f1759054bcb8c2a4b0abb73c8 (diff) |
riscv: Select ARCH_WANTS_NO_INSTR
As said in the help of ARCH_WANTS_NO_INSTR entry in arch/Kconfig:
"An architecture should select this if the noinstr macro is being used on
functions to denote that the toolchain should avoid instrumenting such
functions and is required for correctness."
Select ARCH_WANTS_NO_INSTR for correctness.
PS: The reason we didn't find any issue so far is that the
CC_HAS_NO_PROFILE_FN_ATTR is true.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Link: https://lore.kernel.org/r/20231123142223.1787-1-jszhang@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/testing/radix-tree/linux/xarray.h')
0 files changed, 0 insertions, 0 deletions