ptrace/xtensa: Replace PT_SINGLESTEP with TIF_SINGLESTEP
[platform/kernel/linux-rpi.git] / arch / xtensa / kernel / ptrace.c
index bb3f479..db6cdea 100644 (file)
@@ -226,12 +226,12 @@ const struct user_regset_view *task_user_regset_view(struct task_struct *task)
 
 void user_enable_single_step(struct task_struct *child)
 {
-       child->ptrace |= PT_SINGLESTEP;
+       set_tsk_thread_flag(child, TIF_SINGLESTEP);
 }
 
 void user_disable_single_step(struct task_struct *child)
 {
-       child->ptrace &= ~PT_SINGLESTEP;
+       clear_tsk_thread_flag(child, TIF_SINGLESTEP);
 }
 
 /*