Revert "ptrace: introduce signal_wake_up_state() and ptrace_signal_wake_up()"
This reverts commit bf40183285.
Use upstream stable commit.
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
This commit is contained in:
@@ -2693,16 +2693,7 @@ static inline void thread_group_cputime_init(struct signal_struct *sig)
|
||||
extern void recalc_sigpending_and_wake(struct task_struct *t);
|
||||
extern void recalc_sigpending(void);
|
||||
|
||||
extern void signal_wake_up_state(struct task_struct *t, unsigned int state);
|
||||
|
||||
static inline void signal_wake_up(struct task_struct *t, bool resume)
|
||||
{
|
||||
signal_wake_up_state(t, resume ? TASK_WAKEKILL : 0);
|
||||
}
|
||||
static inline void ptrace_signal_wake_up(struct task_struct *t, bool resume)
|
||||
{
|
||||
signal_wake_up_state(t, resume ? __TASK_TRACED : 0);
|
||||
}
|
||||
extern void signal_wake_up(struct task_struct *t, int resume_stopped);
|
||||
|
||||
/*
|
||||
* Wrappers for p->thread_info->cpu access. No-op on UP.
|
||||
|
||||
Reference in New Issue
Block a user