aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_event.h
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2010-03-11 07:06:56 -0500
committerIngo Molnar <mingo@elte.hu>2010-03-11 09:21:27 -0500
commit85cfabbcd10f8d112feee6e2ec64ee78033b6d3c (patch)
treef8c92931b845b6ec10a32336d107c8f34af512e6 /include/linux/perf_event.h
parent7ae5f21361fea11f58c398701da635f778635d13 (diff)
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 'include/linux/perf_event.h')
-rw-r--r--include/linux/perf_event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 70cffd052c04..95477038a72a 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -453,6 +453,7 @@ enum perf_callchain_context {
453#include <linux/pid_namespace.h> 453#include <linux/pid_namespace.h>
454#include <linux/workqueue.h> 454#include <linux/workqueue.h>
455#include <linux/ftrace.h> 455#include <linux/ftrace.h>
456#include <linux/cpu.h>
456#include <asm/atomic.h> 457#include <asm/atomic.h>
457 458
458#define PERF_MAX_STACK_DEPTH 255 459#define PERF_MAX_STACK_DEPTH 255