From: Randy Dunlap Subject: [PATCH -next] optprobes: fix kconfig depends/selects Date: Thu, 12 Aug 2010 12:26:41 -0700 Message-ID: <20100812122641.fe88e846.randy.dunlap@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from rcsinet10.oracle.com ([148.87.113.121]:47395 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753158Ab0HLT1V (ORCPT ); Thu, 12 Aug 2010 15:27:21 -0400 Sender: linux-next-owner@vger.kernel.org List-ID: To: lkml , linux-next@vger.kernel.org Cc: Ananth N Mavinakayanahalli , Anil S Keshavamurthy , "David S. Miller" , Masami Hiramatsu , akpm From: Randy Dunlap KALLSYMS and KALLSYMS_ALL depend on DEBUG_KERNEL, so add that dependency. KALLSYMS_ALL depends on KALLSYMS, so select both of them, not just KALLSYMS_ALL. warning: (OPTPROBES && KPROBES && HAVE_OPTPROBES && !PREEMPT || MTD_UBI_DEBUG && MTD && SYSFS && MTD_UBI || UBIFS_FS_DEBUG && MISC_FILESYSTEMS && UBIFS_FS || LOCKDEP && DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT || LATENCYTOP && HAVE_LATENCYTOP_SUPPORT) selects KALLSYMS_ALL which has unmet direct dependencies (DEBUG_KERNEL && KALLSYMS) Signed-off-by: Randy Dunlap Cc: Ananth N Mavinakayanahalli Cc: Anil S Keshavamurthy Cc: "David S. Miller" Cc: Masami Hiramatsu --- arch/Kconfig | 2 ++ 1 file changed, 2 insertions(+) --- linux-next-20100810.orig/arch/Kconfig +++ linux-next-20100810/arch/Kconfig @@ -45,6 +45,8 @@ config OPTPROBES def_bool y depends on KPROBES && HAVE_OPTPROBES depends on !PREEMPT + depends on DEBUG_KERNEL + select KALLSYMS select KALLSYMS_ALL config HAVE_EFFICIENT_UNALIGNED_ACCESS