Skip to content

Commit

Permalink
x86: nmi and irq counters are unsigned in nmi_64.c
Browse files Browse the repository at this point in the history
__nmi_count, apic_timer_irqs and irq0_irqs are unsigned.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Hiroshi Shimamoto authored and Ingo Molnar committed May 12, 2008
1 parent f784946 commit f59a931
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/kernel/nmi_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ static __init void nmi_cpu_busy(void *data)

int __init check_nmi_watchdog(void)
{
int *prev_nmi_count;
unsigned int *prev_nmi_count;
int cpu;

if ((nmi_watchdog == NMI_NONE) || (nmi_watchdog == NMI_DISABLED))
Expand Down Expand Up @@ -316,7 +316,7 @@ EXPORT_SYMBOL(touch_nmi_watchdog);
notrace __kprobes int
nmi_watchdog_tick(struct pt_regs *regs, unsigned reason)
{
int sum;
unsigned int sum;
int touched = 0;
int cpu = smp_processor_id();
int rc = 0;
Expand Down

0 comments on commit f59a931

Please sign in to comment.