[patch 14/26] mn10300: Use the core irq stats function

From: Thomas Gleixner
Date: Sun Feb 23 2014 - 16:46:43 EST


Let the core do the irq_desc resolution.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: David Howells <dhowells@xxxxxxxxxx>
Cc: mn10300 <linux-am33-list@xxxxxxxxxx>
---
arch/mn10300/kernel/mn10300-watchdog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: tip/arch/mn10300/kernel/mn10300-watchdog.c
===================================================================
--- tip.orig/arch/mn10300/kernel/mn10300-watchdog.c
+++ tip/arch/mn10300/kernel/mn10300-watchdog.c
@@ -142,7 +142,7 @@ void watchdog_interrupt(struct pt_regs *
NMICR = NMICR_WDIF;

nmi_count(smp_processor_id())++;
- kstat_incr_irqs_this_cpu(irq, irq_to_desc(irq));
+ kstat_incr_irq_this_cpu(irq);

for_each_online_cpu(cpu) {



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/