aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/perf_event.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-11-22 06:20:19 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-22 06:21:33 -0500
commit645e8cc0c9f01f07f384fd522b782e5e6ae9de18 (patch)
tree8db943dfb81ebb18015442089963e43a489e8619 /kernel/perf_event.c
parente57cfcdac6badd846a1cd831de54a1359c2d1eea (diff)
perf_events: Fix modular build
Fix: ERROR: "perf_swevent_put_recursion_context" [fs/ext4/ext4.ko] undefined! ERROR: "perf_swevent_get_recursion_context" [fs/ext4/ext4.ko] undefined! Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Masami Hiramatsu <mhiramat@redhat.com> Cc: Jason Baron <jbaron@redhat.com> LKML-Reference: <1258864015-10579-1-git-send-email-fweisbec@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/perf_event.c')
-rw-r--r--kernel/perf_event.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c
index b26cb03c1914..abe1ef47496c 100644
--- a/kernel/perf_event.c
+++ b/kernel/perf_event.c
@@ -3903,11 +3903,13 @@ int perf_swevent_get_recursion_context(int **recursion)
3903 3903
3904 return 0; 3904 return 0;
3905} 3905}
3906EXPORT_SYMBOL_GPL(perf_swevent_get_recursion_context);
3906 3907
3907void perf_swevent_put_recursion_context(int *recursion) 3908void perf_swevent_put_recursion_context(int *recursion)
3908{ 3909{
3909 (*recursion)--; 3910 (*recursion)--;
3910} 3911}
3912EXPORT_SYMBOL_GPL(perf_swevent_put_recursion_context);
3911 3913
3912static void __do_perf_sw_event(enum perf_type_id type, u32 event_id, 3914static void __do_perf_sw_event(enum perf_type_id type, u32 event_id,
3913 u64 nr, int nmi, 3915 u64 nr, int nmi,