diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2008-10-03 05:39:46 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-03 05:41:41 -0400 |
commit | 77af7e3403e7314c47b0c07fbc5e4ef21d939532 (patch) | |
tree | 76bc65173d4880fd2dfc5f31a520d1e9345fffcf /kernel | |
parent | 8e85b4b553fc932e1c5141feb5fda389b7f5db01 (diff) |
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: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/softirq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c index 1cf1e2f2c406..be7a8292f992 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c | |||
@@ -210,7 +210,7 @@ restart: | |||
210 | h->action(h); | 210 | h->action(h); |
211 | 211 | ||
212 | if (unlikely(prev_count != preempt_count())) { | 212 | if (unlikely(prev_count != preempt_count())) { |
213 | printk(KERN_ERR "huh, entered sotfirq %ld %p" | 213 | printk(KERN_ERR "huh, entered softirq %d %p" |
214 | "with preempt_count %08x," | 214 | "with preempt_count %08x," |
215 | " exited with %08x?\n", h - softirq_vec, | 215 | " exited with %08x?\n", h - softirq_vec, |
216 | h->action, prev_count, preempt_count()); | 216 | h->action, prev_count, preempt_count()); |