Bugzilla – Attachment #1995: Patch for arch/sim/workqueue.c to fix bug. for bug #2080
return queue_work (wq, work);
}
if (!test_and_set_bit(WORK_STRUCT_PENDING, work_data_bits(work)))
if (!test_and_set_bit(WORK_STRUCT_PENDING_BIT, work_data_bits(work)))
{
sim_assert (!timer_pending (timer));
dwork->wq = wq;