]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
x86/perf: Drop EXPORT of perf_check_microcode
authorThomas Gleixner <tglx@linutronix.de>
Wed, 24 May 2017 08:15:29 +0000 (10:15 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 26 May 2017 08:10:42 +0000 (10:10 +0200)
The only caller is the microcode update, which cannot be modular.

Drop the export.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Borislav Petkov <bp@suse.de>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sebastian Siewior <bigeasy@linutronix.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Borislav Petkov <bp@alien8.de>
Link: http://lkml.kernel.org/r/20170524081548.515204988@linutronix.de
arch/x86/events/core.c

index 580b60f5ac83cea46a75a11185c8ef0a8c2da516..ac650d57ebf7e9ce14abaca85154ca56b0f3cc7b 100644 (file)
@@ -2224,7 +2224,6 @@ void perf_check_microcode(void)
        if (x86_pmu.check_microcode)
                x86_pmu.check_microcode();
 }
-EXPORT_SYMBOL_GPL(perf_check_microcode);
 
 static struct pmu pmu = {
        .pmu_enable             = x86_pmu_enable,