diff options
| author | Frank Rowand <frank.rowand@am.sony.com> | 2011-09-19 14:51:14 -0700 |
|---|---|---|
| committer | Clark Williams <williams@redhat.com> | 2012-02-15 10:32:29 -0600 |
| commit | 9dcaf67be9708b126cad758e60e3424239b7a1d3 (patch) | |
| tree | 9a322be7f05759c112324ab5e6ba5d6e9ecf4cc0 /include/linux | |
| parent | fc9ec3648a9c58839c976a506054e18ae351c1b2 (diff) | |
preempt-rt: Convert arm boot_lock to raw
The arm boot_lock is used by the secondary processor startup code. The locking
task is the idle thread, which has idle->sched_class == &idle_sched_class.
idle_sched_class->enqueue_task == NULL, so if the idle task blocks on the
lock, the attempt to wake it when the lock becomes available will fail:
try_to_wake_up()
...
activate_task()
enqueue_task()
p->sched_class->enqueue_task(rq, p, flags)
Fix by converting boot_lock to a raw spin lock.
Signed-off-by: Frank Rowand <frank.rowand@am.sony.com>
Link: http://lkml.kernel.org/r/4E77B952.3010606@am.sony.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
