[PATCH v2] ARM: Fix "BUG: scheduling while atomic: swapper/0/0x00000002
Russell King - ARM Linux
linux at arm.linux.org.uk
Sat Apr 17 14:33:36 EDT 2010
On Sat, Apr 17, 2010 at 01:45:44PM +0530, Santosh Shilimkar wrote:
> + /*
> + * Since idle thread getting re-used, call
> + * init_idle() to set up the idle thread for given
> + * CPU. Additionally it also resets the preempt count
"Since this idle thread is being re-used, call
init_idle() to reinitialize the thread structure."
I don't think we need to mention the preempt count explicitly because
that's a detail of reinitializing the thread structure.
More information about the linux-arm-kernel
mailing list