• Peter Zijlstra's avatar
    perf, ppc: Fix compile error due to new cpu notifiers · 85cfabbc
    Peter Zijlstra authored
    Fix:
    
      arch/powerpc/kernel/perf_event.c:1334: error: 'power_pmu_notifier' undeclared (first use in this function)
      arch/powerpc/kernel/perf_event.c:1334: error: (Each undeclared identifier is reported only once
      arch/powerpc/kernel/perf_event.c:1334: error: for each function it appears in.)
      arch/powerpc/kernel/perf_event.c:1334: error: implicit declaration of function 'power_pmu_notifier'
      arch/powerpc/kernel/perf_event.c:1334: error: implicit declaration of function 'register_cpu_notifier'
    
    Due to commit 3f6da390 (perf: Rework and fix the arch CPU-hotplug hooks).
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    85cfabbc
perf_event.c 32 KB