voron

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

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

make sheduled variable in task_struct volatile

Diffstat:
include/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;