From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chen Gang Subject: [PATCH] arch: mn10300: Kconfig: remove 'KPROBES' options Date: Tue, 25 Jun 2013 10:55:18 +0800 Message-ID: <51C90696.6040407@asianux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from intranet.asianux.com ([58.214.24.6]:32512 "EHLO intranet.asianux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750784Ab3FYC4J (ORCPT ); Mon, 24 Jun 2013 22:56:09 -0400 Sender: linux-arch-owner@vger.kernel.org List-ID: To: "dhowells@redhat.com" , Koichi Yasutake Cc: linux-am33-list@redhat.com, "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 =91get_kprobe_ctlblk=92: include/linux/kprobes.h:332:11: error: dereferencing pointer to incom= plete type Signed-off-by: Chen Gang --- 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. =20 -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 --=20 1.7.7.6