mirror of
https://github.com/torvalds/linux.git
synced 2024-09-21 15:33:19 +00:00
02ccdeed18
lkp reported a randconfig failure:
arch/riscv/kernel/probes/kprobes.c:90:22: error: use of undeclared identifier 'PAGE_KERNEL_READ_EXEC'
We implemented the alloc_insn_page() to allocate PAGE_KERNEL_READ_EXEC
page for kprobes insn page for STRICT_MODULE_RWX. But if MMU=n, we
should fall back to the generic weak alloc_insn_page() by generic
kprobe subsystem.
Fixes:
|
||
---|---|---|
.. | ||
decode-insn.c | ||
decode-insn.h | ||
ftrace.c | ||
kprobes_trampoline.S | ||
kprobes.c | ||
Makefile | ||
simulate-insn.c | ||
simulate-insn.h | ||
uprobes.c |