mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 11/13] fix signed vs unsigned in nmi watchdog
@ 2006-02-24 20:49 Jesper Juhl
  0 siblings, 0 replies; only message in thread
From: Jesper Juhl @ 2006-02-24 20:49 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Ingo Molnar, Jesper Juhl


Fix "signed vs unsigned" in nmi_watchdog_tick.


Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
---

 arch/i386/kernel/nmi.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

--- linux-2.6.16-rc4-mm2-orig/arch/i386/kernel/nmi.c	2006-02-24 19:25:29.000000000 +0100
+++ linux-2.6.16-rc4-mm2/arch/i386/kernel/nmi.c	2006-02-24 20:55:32.000000000 +0100
@@ -557,7 +557,8 @@ void nmi_watchdog_tick (struct pt_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;
 




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-24 20:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-24 20:49 [PATCH 11/13] fix signed vs unsigned in nmi watchdog Jesper Juhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome