projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.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
|
blame
|
history
diff --git
a/arch/i386/kernel/nmi.c
b/arch/i386/kernel/nmi.c
index 5ad6a2c92d27e25f9c77633cf5012ea8d1f35243..d43b498ec745e2ea335d1282df274311eac62234 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;