lkml.org 
[lkml]   [2014]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch 14/26] mn10300: Use the core irq stats function
Let the core do the irq_desc resolution.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: David Howells <dhowells@redhat.com>
Cc: mn10300 <linux-am33-list@redhat.com>
---
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) {




\
 
 \ /
  Last update: 2014-02-24 00:01    [W:0.384 / U:1.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site