diff options
Diffstat (limited to 'include/trace/ftrace.h')
-rw-r--r-- | include/trace/ftrace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/trace/ftrace.h b/include/trace/ftrace.h index 25d3b02a06f8..46d81b5e8610 100644 --- a/include/trace/ftrace.h +++ b/include/trace/ftrace.h | |||
@@ -568,7 +568,7 @@ static void ftrace_raw_event_##call(proto) \ | |||
568 | trace_nowake_buffer_unlock_commit(event, irq_flags, pc); \ | 568 | trace_nowake_buffer_unlock_commit(event, irq_flags, pc); \ |
569 | } \ | 569 | } \ |
570 | \ | 570 | \ |
571 | static int ftrace_raw_reg_event_##call(void) \ | 571 | static int ftrace_raw_reg_event_##call(void *ptr) \ |
572 | { \ | 572 | { \ |
573 | int ret; \ | 573 | int ret; \ |
574 | \ | 574 | \ |
@@ -579,7 +579,7 @@ static int ftrace_raw_reg_event_##call(void) \ | |||
579 | return ret; \ | 579 | return ret; \ |
580 | } \ | 580 | } \ |
581 | \ | 581 | \ |
582 | static void ftrace_raw_unreg_event_##call(void) \ | 582 | static void ftrace_raw_unreg_event_##call(void *ptr) \ |
583 | { \ | 583 | { \ |
584 | unregister_trace_##call(ftrace_raw_event_##call); \ | 584 | unregister_trace_##call(ftrace_raw_event_##call); \ |
585 | } \ | 585 | } \ |