diff options
Diffstat (limited to 'kernel/tracepoint.c')
-rw-r--r-- | kernel/tracepoint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/tracepoint.c b/kernel/tracepoint.c index 06f165a44083..be86b9a01a09 100644 --- a/kernel/tracepoint.c +++ b/kernel/tracepoint.c | |||
@@ -590,7 +590,7 @@ void syscall_regfunc(void) | |||
590 | if (!sys_tracepoint_refcount) { | 590 | if (!sys_tracepoint_refcount) { |
591 | read_lock_irqsave(&tasklist_lock, flags); | 591 | read_lock_irqsave(&tasklist_lock, flags); |
592 | do_each_thread(g, t) { | 592 | do_each_thread(g, t) { |
593 | set_tsk_thread_flag(t, TIF_SYSCALL_FTRACE); | 593 | set_tsk_thread_flag(t, TIF_SYSCALL_TRACEPOINT); |
594 | } while_each_thread(g, t); | 594 | } while_each_thread(g, t); |
595 | read_unlock_irqrestore(&tasklist_lock, flags); | 595 | read_unlock_irqrestore(&tasklist_lock, flags); |
596 | } | 596 | } |
@@ -608,7 +608,7 @@ void syscall_unregfunc(void) | |||
608 | if (!sys_tracepoint_refcount) { | 608 | if (!sys_tracepoint_refcount) { |
609 | read_lock_irqsave(&tasklist_lock, flags); | 609 | read_lock_irqsave(&tasklist_lock, flags); |
610 | do_each_thread(g, t) { | 610 | do_each_thread(g, t) { |
611 | clear_tsk_thread_flag(t, TIF_SYSCALL_FTRACE); | 611 | clear_tsk_thread_flag(t, TIF_SYSCALL_TRACEPOINT); |
612 | } while_each_thread(g, t); | 612 | } while_each_thread(g, t); |
613 | read_unlock_irqrestore(&tasklist_lock, flags); | 613 | read_unlock_irqrestore(&tasklist_lock, flags); |
614 | } | 614 | } |