diff options
author | Jesper Juhl <jesper.juhl@gmail.com> | 2006-03-28 01:56:52 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-28 09:16:08 -0800 |
commit | b791ccef21129f9c7e4ab8274d5d7a0ec0a2fb7c (patch) | |
tree | 20659079914031f1e7325624439b6b8f82c9c02b /arch/i386/kernel | |
parent | ca43b317fc557bbcca845c684d93375286bf9e0b (diff) | |
download | kernel_samsung_espresso10-b791ccef21129f9c7e4ab8274d5d7a0ec0a2fb7c.zip kernel_samsung_espresso10-b791ccef21129f9c7e4ab8274d5d7a0ec0a2fb7c.tar.gz kernel_samsung_espresso10-b791ccef21129f9c7e4ab8274d5d7a0ec0a2fb7c.tar.bz2 |
[PATCH] fix signed vs unsigned in nmi watchdog
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>
Diffstat (limited to 'arch/i386/kernel')
-rw-r--r-- | arch/i386/kernel/nmi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/i386/kernel/nmi.c b/arch/i386/kernel/nmi.c index 5ad6a2c..d43b498 100644 --- 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; |