Commit 77af7e34 authored by Frederic Weisbecker's avatar Frederic Weisbecker Committed by Ingo Molnar

softirq, warning fix: correct a format to avoid a warning

Last -tip gives this warning:

kernel/softirq.c: Dans la fonction «__do_softirq» :
kernel/softirq.c:216: attention : format «%ld» expects type «long int», but argument 2 has type «int»

This patch corrects the format type, and a small mistake in the "softirq" word.
Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 8e85b4b5
...@@ -210,7 +210,7 @@ asmlinkage void __do_softirq(void) ...@@ -210,7 +210,7 @@ asmlinkage void __do_softirq(void)
h->action(h); h->action(h);
if (unlikely(prev_count != preempt_count())) { if (unlikely(prev_count != preempt_count())) {
printk(KERN_ERR "huh, entered sotfirq %ld %p" printk(KERN_ERR "huh, entered softirq %d %p"
"with preempt_count %08x," "with preempt_count %08x,"
" exited with %08x?\n", h - softirq_vec, " exited with %08x?\n", h - softirq_vec,
h->action, prev_count, preempt_count()); h->action, prev_count, preempt_count());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment