diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-06-25 07:21:04 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-02-13 22:20:32 (GMT) |
commit | 730b065b19ac510309b0c71e5ff29843562bf594 (patch) | |
tree | 970325e7fb0ecc24c364401a20cfbbb4795bcca6 /include | |
parent | a2dc3dc8baee709966e36929b6fbd1cb141cdc0a (diff) | |
download | linux-fsl-qoriq-730b065b19ac510309b0c71e5ff29843562bf594.tar.xz |
sched-rt-mutex-wakeup.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 449aac7..a559a5f 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1025,6 +1025,7 @@ enum perf_event_task_context { struct task_struct { volatile long state; /* -1 unrunnable, 0 runnable, >0 stopped */ + volatile long saved_state; /* saved state for "spinlock sleepers" */ void *stack; atomic_t usage; unsigned int flags; /* per process flags, defined below */ @@ -2044,6 +2045,7 @@ extern void xtime_update(unsigned long ticks); extern int wake_up_state(struct task_struct *tsk, unsigned int state); extern int wake_up_process(struct task_struct *tsk); +extern int wake_up_lock_sleeper(struct task_struct * tsk); extern void wake_up_new_task(struct task_struct *tsk); #ifdef CONFIG_SMP extern void kick_process(struct task_struct *tsk); |