diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 95f248ba36c9..7e0ff5dba986 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -911,7 +911,7 @@ extern void __put_task_struct(struct task_struct *t); | |||
911 | static inline void put_task_struct(struct task_struct *t) | 911 | static inline void put_task_struct(struct task_struct *t) |
912 | { | 912 | { |
913 | if (atomic_dec_and_test(&t->usage)) | 913 | if (atomic_dec_and_test(&t->usage)) |
914 | call_rcu(&t->rcu, __put_task_struct_cb); | 914 | __put_task_struct(t); |
915 | } | 915 | } |
916 | 916 | ||
917 | /* | 917 | /* |