mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
[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>
This commit is contained in:
parent
ca43b317fc
commit
b791ccef21
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue