]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
oprofile: Disable oprofile NMI timer on ppc64
authorAnton Blanchard <anton@samba.org>
Thu, 9 Apr 2015 02:52:55 +0000 (12:52 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 11 Apr 2015 10:49:27 +0000 (20:49 +1000)
We want to enable the hard lockup detector on ppc64, but right now
that enables the oprofile NMI timer too.

We'd prefer not to enable the oprofile NMI timer, it adds another
element to our PMU testing and it requires us to increase our
exported symbols (eg cpu_khz).

Modify the config entry for OPROFILE_NMI_TIMER to disable it on PPC64.

Signed-off-by: Anton Blanchard <anton@samba.org>
Acked-by: Robert Richter <rric@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/Kconfig

index 05d7a8a458d5850c181e527c2039904c66239de5..0cc605daa449337e09e39fdaa95997bdc2e47f95 100644 (file)
@@ -32,7 +32,7 @@ config HAVE_OPROFILE
 
 config OPROFILE_NMI_TIMER
        def_bool y
-       depends on PERF_EVENTS && HAVE_PERF_EVENTS_NMI
+       depends on PERF_EVENTS && HAVE_PERF_EVENTS_NMI && !PPC64
 
 config KPROBES
        bool "Kprobes"