arch: mn10300: Kconfig: remove 'KPROBES' options
PATCH 1/1 arch: mn10300: Kconfig: remove 'KPROBES' options
Currently, mn10300 does not implement 'KPROBES', so need remove it now, or can not pass compiling with allmodconfig.
The related error (with allmodconfig):
In file included from arch/mn10300/kernel/kprobes.c:20:0:
include/linux/kprobes.h: In function ‘get_kprobe_ctlblk’:
include/linux/kprobes.h:332:11: error: dereferencing pointer to incomplete type
Signed-off-by Chen Gang <[email protected]>
--- arch/mn10300/Kconfig.debug | 10 ---------- 1 files changed, 0 insertions(+), 10 deletions(-)
arch/mn10300/Kconfig.debug +0 -10
@@ -24,16 +24,6 @@ config TEST_MISALIGNMENT_HANDLER accesses to make sure the misalignment handler deals them with correctly. If it does not, the kernel will throw a BUG. -config KPROBES - bool "Kprobes" - depends on DEBUG_KERNEL - help - Kprobes allows you to trap at almost any kernel address and - execute a callback function. register_kprobe() establishes - a probepoint and specifies the callback. Kprobes is useful - for kernel debugging, non-intrusive instrumentation and testing. - If in doubt, say "N". - config GDBSTUB bool "Remote GDB kernel debugging" depends on DEBUG_KERNEL && DEPRECATED
Signature · 1 line
1.7.7.6