From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] ARM: Fix "BUG: scheduling while atomic: swapper/0/0x00000002
Date: Sat, 17 Apr 2010 19:33:36 +0100 [thread overview]
Message-ID: <20100417183336.GB24299@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1271492144-26995-1-git-send-email-santosh.shilimkar@ti.com>
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.
next prev parent reply other threads:[~2010-04-17 18:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-17 8:15 [PATCH v2] ARM: Fix "BUG: scheduling while atomic: swapper/0/0x00000002 Santosh Shilimkar
2010-04-17 9:51 ` Philby John
2010-04-17 9:59 ` Shilimkar, Santosh
2010-04-17 10:27 ` Philby John
2010-04-18 15:09 ` Russell King - ARM Linux
2010-04-17 18:33 ` Russell King - ARM Linux [this message]
2010-04-18 5:01 ` Shilimkar, Santosh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100417183336.GB24299@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox