Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b791ccef authored by Jesper Juhl's avatar Jesper Juhl Committed by Linus Torvalds
Browse files

[PATCH] fix signed vs unsigned in nmi watchdog



Fix "signed vs unsigned" in nmi_watchdog_tick.

Signed-off-by: default avatarJesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ca43b317
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;