From: Daniel Walker <dwalker@mvista.com>
To: mingo@elte.hu
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Split schedule() {raw_}irq warnings
Date: Tue, 10 Jan 2006 10:23:41 -0800 [thread overview]
Message-ID: <200601101823.k0AINfMt032199@dhcp153.mvista.com> (raw)
I changed this error message so it's clear what triggered it.
If it's a raw_ type it says it's raw.
Signed-Off-By: Daniel Walker <dwalker@mvista.com>
Index: linux-2.6.15/kernel/sched.c
===================================================================
--- linux-2.6.15.orig/kernel/sched.c
+++ linux-2.6.15/kernel/sched.c
@@ -3568,9 +3568,10 @@ asmlinkage void __sched schedule(void)
*/
if (unlikely(irqs_disabled() || raw_irqs_disabled())) {
stop_trace();
- printk(KERN_ERR "BUG: scheduling with irqs disabled: "
+ printk(KERN_ERR "BUG: scheduling with %sirqs disabled: "
"%s/0x%08x/%d\n",
- current->comm, preempt_count(), current->pid);
+ (irqs_disabled())?"":"raw ", current->comm,
+ preempt_count(), current->pid);
print_symbol("caller is %s\n",
(long)__builtin_return_address(0));
dump_stack();
next reply other threads:[~2006-01-10 18:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-10 18:23 Daniel Walker [this message]
2006-01-10 21:13 ` [PATCH] Split schedule() {raw_}irq warnings Ingo Molnar
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=200601101823.k0AINfMt032199@dhcp153.mvista.com \
--to=dwalker@mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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;
as well as URLs for NNTP newsgroup(s).