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 <gang.c...@asianux.com>
---
 arch/mn10300/Kconfig.debug |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/arch/mn10300/Kconfig.debug b/arch/mn10300/Kconfig.debug
index bdbfd44..624de7d 100644
--- a/arch/mn10300/Kconfig.debug
+++ b/arch/mn10300/Kconfig.debug
@@ -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
-- 
1.7.7.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to