diff options
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index 6e6ec300330f..d1eddc753fe3 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -674,7 +674,7 @@ forget_original_parent(struct task_struct *father, struct list_head *to_release) | |||
674 | do { | 674 | do { |
675 | reaper = next_thread(reaper); | 675 | reaper = next_thread(reaper); |
676 | if (reaper == father) { | 676 | if (reaper == father) { |
677 | reaper = child_reaper(father); | 677 | reaper = task_child_reaper(father); |
678 | break; | 678 | break; |
679 | } | 679 | } |
680 | } while (reaper->exit_state); | 680 | } while (reaper->exit_state); |
@@ -874,7 +874,7 @@ static inline void check_stack_usage(void) {} | |||
874 | 874 | ||
875 | static inline void exit_child_reaper(struct task_struct *tsk) | 875 | static inline void exit_child_reaper(struct task_struct *tsk) |
876 | { | 876 | { |
877 | if (likely(tsk->group_leader != child_reaper(tsk))) | 877 | if (likely(tsk->group_leader != task_child_reaper(tsk))) |
878 | return; | 878 | return; |
879 | 879 | ||
880 | panic("Attempted to kill init!"); | 880 | panic("Attempted to kill init!"); |