aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>2008-05-02 19:44:52 -0400
committerIngo Molnar <mingo@elte.hu>2008-05-12 15:28:11 -0400
commitf59a9310b97879159ef4d25227bc270278f1ee71 (patch)
tree089ed773e16fdd1099bac99bcb574c44dbf3f394
parentf784946ded3e734524d1f48a6a8286b8a152c3b9 (diff)
x86: nmi and irq counters are unsigned in nmi_64.c
__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>
-rw-r--r--arch/x86/kernel/nmi_64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/nmi_64.c b/arch/x86/kernel/nmi_64.c
index 5a29ded994fa..33cb8ecbb6dd 100644
--- a/arch/x86/kernel/nmi_64.c
+++ b/arch/x86/kernel/nmi_64.c
@@ -79,7 +79,7 @@ static __init void nmi_cpu_busy(void *data)
79 79
80int __init check_nmi_watchdog(void) 80int __init check_nmi_watchdog(void)
81{ 81{
82 int *prev_nmi_count; 82 unsigned int *prev_nmi_count;
83 int cpu; 83 int cpu;
84 84
85 if ((nmi_watchdog == NMI_NONE) || (nmi_watchdog == NMI_DISABLED)) 85 if ((nmi_watchdog == NMI_NONE) || (nmi_watchdog == NMI_DISABLED))
@@ -316,7 +316,7 @@ EXPORT_SYMBOL(touch_nmi_watchdog);
316notrace __kprobes int 316notrace __kprobes int
317nmi_watchdog_tick(struct pt_regs *regs, unsigned reason) 317nmi_watchdog_tick(struct pt_regs *regs, unsigned reason)
318{ 318{
319 int sum; 319 unsigned int sum;
320 int touched = 0; 320 int touched = 0;
321 int cpu = smp_processor_id(); 321 int cpu = smp_processor_id();
322 int rc = 0; 322 int rc = 0;