OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca43b31
)
[PATCH] fix signed vs unsigned in nmi watchdog
author
Jesper Juhl
<jesper.juhl@gmail.com>
Tue, 28 Mar 2006 09:56:52 +0000
(
01:56
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 28 Mar 2006 17:16:08 +0000
(09:16 -0800)
Fix "signed vs unsigned" in nmi_watchdog_tick.
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/nmi.c
patch
|
blob
|
history
diff --git
a/arch/i386/kernel/nmi.c
b/arch/i386/kernel/nmi.c
index
5ad6a2c
..
d43b498
100644
(file)
--- a/
arch/i386/kernel/nmi.c
+++ b/
arch/i386/kernel/nmi.c
@@
-529,7
+529,8
@@
void nmi_watchdog_tick (struct pt_regs * regs)
* always switch the stack NMI-atomically, it's safe to use
* smp_processor_id().
*/
- int sum, cpu = smp_processor_id();
+ unsigned int sum;
+ int cpu = smp_processor_id();
sum = per_cpu(irq_stat, cpu).apic_timer_irqs;