From: Peter Zijlstra Date: Tue, 16 Nov 2010 20:49:01 +0000 (+0100) Subject: perf, x86: Fixup Kconfig deps X-Git-Tag: MMI-PSA29.97-13-9~21594^3~5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cc2067a51424dd25c10c1b1230b4222d8baec94d;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git perf, x86: Fixup Kconfig deps 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. (This can cause build failures on M386/M486 kernel .config's.) Signed-off-by: Peter Zijlstra LKML-Reference: <20101117222055.982965150@chello.nl> Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index e8327686d3c5..e330da21b84f 100644 --- a/arch/x86/Kconfig +++ b/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