Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158466
b: refs/heads/master
c: cc3b13c
h: refs/heads/master
v: v3
  • Loading branch information
Hendrik Brueckner authored and Frederic Weisbecker committed Aug 26, 2009
1 parent cc681ce commit 1f2f4b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cd0980fc8add25e8ab12fcf1051c0f20cbc7c0c0
refs/heads/master: cc3b13c11c567c69a6356be98d0c03ff11541d5c
4 changes: 3 additions & 1 deletion trunk/kernel/tracepoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,9 @@ void syscall_regfunc(void)
if (!sys_tracepoint_refcount) {
read_lock_irqsave(&tasklist_lock, flags);
do_each_thread(g, t) {
set_tsk_thread_flag(t, TIF_SYSCALL_TRACEPOINT);
/* Skip kernel threads. */
if (t->mm)
set_tsk_thread_flag(t, TIF_SYSCALL_TRACEPOINT);
} while_each_thread(g, t);
read_unlock_irqrestore(&tasklist_lock, flags);
}
Expand Down

0 comments on commit 1f2f4b8

Please sign in to comment.