From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935569Ab0KQWYl (ORCPT ); Wed, 17 Nov 2010 17:24:41 -0500 Received: from casper.infradead.org ([85.118.1.10]:55834 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935070Ab0KQWXJ (ORCPT ); Wed, 17 Nov 2010 17:23:09 -0500 Message-Id: <20101117222055.982965150@chello.nl> User-Agent: quilt/0.47-1 Date: Wed, 17 Nov 2010 23:17:31 +0100 From: Peter Zijlstra To: Ingo Molnar , Lin Ming , Stephane Eranian , "robert.richter" , Corey Ashford , fweisbec , paulus , Greg Kroah-Hartman , Kay Sievers , "H. Peter Anvin" , Kyle Moffett Cc: linux-kernel@vger.kernel.org, Peter Zijlstra Subject: [RFC][PATCH 1/8] perf, x86: Fixup Kconfig deps References: <20101117221730.002627458@chello.nl> Content-Disposition: inline; filename=perf-i386-fix-kconfig.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This leads to a Kconfig dep inversion, x86 selects PERF_EVENT (due to a hw_breakpoint dep) but doesn't unconditionally provide HAVE_PERF_EVENT. Signed-off-by: Peter Zijlstra --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6/arch/x86/Kconfig =================================================================== --- linux-2.6.orig/arch/x86/Kconfig +++ linux-2.6/arch/x86/Kconfig @@ -21,7 +21,7 @@ config X86 select HAVE_UNSTABLE_SCHED_CLOCK select HAVE_IDE select HAVE_OPROFILE - select HAVE_PERF_EVENTS if (!M386 && !M486) + select HAVE_PERF_EVENTS select HAVE_IRQ_WORK select HAVE_IOREMAP_PROT select HAVE_KPROBES