voron

experimental ARM OS
git clone git://git.2f30.org/voron
Log | Files | Refs | README | LICENSE

commit 9a6fa3211305d7d3b4cf8216fbc27e7d3eec9cb2
parent 9cc93a3d695f7e188ad913be6f864d5243f27b11
Author: oblique <psyberbits@gmail.com>
Date:   Thu,  1 Nov 2012 12:16:23 +0200

make sheduled variable in task_struct volatile

Diffstat:
Minclude/sched.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/sched.h b/include/sched.h @@ -27,7 +27,7 @@ struct task_struct { task_state_t state; sleep_reason_t sleep_reason; u32 sleep_chan; - int scheduled; + volatile int scheduled; struct regs regs; struct list_head list; void *stack_alloc;