From: Thomas Gleixner Date: Wed, 24 May 2017 08:15:29 +0000 (+0200) Subject: x86/perf: Drop EXPORT of perf_check_microcode X-Git-Tag: v4.13-rc1~187^2~19 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=27d3b157fee0bad264eb745d5c547e2e0676f1a2;p=karo-tx-linux.git x86/perf: Drop EXPORT of perf_check_microcode The only caller is the microcode update, which cannot be modular. Drop the export. Signed-off-by: Thomas Gleixner Acked-by: Ingo Molnar Acked-by: Borislav Petkov Cc: Paul E. McKenney Cc: Peter Zijlstra Cc: Sebastian Siewior Cc: Steven Rostedt Cc: Borislav Petkov Link: http://lkml.kernel.org/r/20170524081548.515204988@linutronix.de --- diff --git a/arch/x86/events/core.c b/arch/x86/events/core.c index 580b60f5ac83..ac650d57ebf7 100644 --- a/arch/x86/events/core.c +++ b/arch/x86/events/core.c @@ -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,