linux-arch.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arch: mn10300: Kconfig: remove 'KPROBES' options
@ 2013-06-25  2:55 Chen Gang
  0 siblings, 0 replies; only message in thread
From: Chen Gang @ 2013-06-25  2:55 UTC (permalink / raw)
  To: dhowells@redhat.com, Koichi Yasutake
  Cc: linux-am33-list, linux-kernel@vger.kernel.org, Linux-Arch

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.chen@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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-25  2:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-25  2:55 [PATCH] arch: mn10300: Kconfig: remove 'KPROBES' options Chen Gang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).