lkml.org 
[lkml]   [2017]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 15/20] 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 <tglx@linutronix.de>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: x86@kernel.org
    ---
    arch/x86/events/core.c | 1 -
    1 file changed, 1 deletion(-)

    --- 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,

    \
     
     \ /
      Last update: 2017-04-15 19:34    [W:4.053 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site