diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2010-03-11 15:06:56 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-03-11 17:21:27 +0300 |
commit | 85cfabbcd10f8d112feee6e2ec64ee78033b6d3c (patch) | |
tree | f8c92931b845b6ec10a32336d107c8f34af512e6 /arch/powerpc | |
parent | 7ae5f21361fea11f58c398701da635f778635d13 (diff) | |
download | linux-85cfabbcd10f8d112feee6e2ec64ee78033b6d3c.tar.xz |
perf, ppc: Fix compile error due to new cpu notifiers
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: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/perf_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/perf_event.c b/arch/powerpc/kernel/perf_event.c index fbe101d7505d..08460a2e9f41 100644 --- a/arch/powerpc/kernel/perf_event.c +++ b/arch/powerpc/kernel/perf_event.c @@ -1298,7 +1298,7 @@ static void power_pmu_setup(int cpu) } static int __cpuinit -power_pmu_notify(struct notifier_block *self, unsigned long action, void *hcpu) +power_pmu_notifier(struct notifier_block *self, unsigned long action, void *hcpu) { unsigned int cpu = (long)hcpu; |