mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
e57cfcdac6
commit
645e8cc0c9
1 changed files with 2 additions and 0 deletions
|
@ -3903,11 +3903,13 @@ int perf_swevent_get_recursion_context(int **recursion)
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(perf_swevent_get_recursion_context);
|
||||||
|
|
||||||
void perf_swevent_put_recursion_context(int *recursion)
|
void perf_swevent_put_recursion_context(int *recursion)
|
||||||
{
|
{
|
||||||
(*recursion)--;
|
(*recursion)--;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(perf_swevent_put_recursion_context);
|
||||||
|
|
||||||
static void __do_perf_sw_event(enum perf_type_id type, u32 event_id,
|
static void __do_perf_sw_event(enum perf_type_id type, u32 event_id,
|
||||||
u64 nr, int nmi,
|
u64 nr, int nmi,
|
||||||
|
|
Loading…
Reference in a new issue