mirror of
https://github.com/drasko/codezero.git
synced 2026-02-28 09:43:14 +01:00
Fixed a nasty spinlock issue with wake_up_all that didn't get caught.
This commit is contained in:
@@ -74,11 +74,9 @@ void do_irq(void)
|
||||
printk("Spurious or broken irq\n"); BUG();
|
||||
}
|
||||
irq_enable(irq_index);
|
||||
|
||||
#if 0
|
||||
/* Process any pending flags for currently runnable task */
|
||||
if (!in_nested_irq_context()) {
|
||||
/* This is buggy, races on prio_total */
|
||||
if (in_user()) {
|
||||
if (current->flags & TASK_SUSPENDING)
|
||||
sched_suspend_async();
|
||||
|
||||
Reference in New Issue
Block a user