[PATCH v2] ARM: Fix "BUG: scheduling while atomic: swapper/0/0x00000002
Shilimkar, Santosh
santosh.shilimkar at ti.com
Sun Apr 18 01:01:49 EDT 2010
> -----Original Message-----
> From: Russell King - ARM Linux [mailto:linux at arm.linux.org.uk]
> Sent: Sunday, April 18, 2010 12:04 AM
> To: Shilimkar, Santosh
> Cc: linux-arm-kernel at lists.infradead.org; Catalin Marinas; Sundar R IYER
> Subject: Re: [PATCH v2] ARM: Fix "BUG: scheduling while atomic: swapper/0/0x00000002
>
> 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.
Ok.
Will fix the description and if you are ok can submit to patch system
Regards,
Santosh
More information about the linux-arm-kernel
mailing list