lkml.org 
[lkml]   [2014]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[tip:irq/core] mn10300: Use the core irq stats function
    Commit-ID:  a21748c93544901448777b5fa2abe1194c02c6dc
    Gitweb: http://git.kernel.org/tip/a21748c93544901448777b5fa2abe1194c02c6dc
    Author: Thomas Gleixner <tglx@linutronix.de>
    AuthorDate: Sun, 23 Feb 2014 21:40:16 +0000
    Committer: Thomas Gleixner <tglx@linutronix.de>
    CommitDate: Tue, 4 Mar 2014 17:37:53 +0100

    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: Peter Zijlstra <peterz@infradead.org>
    Cc: David Howells <dhowells@redhat.com>
    Cc: mn10300 <linux-am33-list@redhat.com>
    Link: http://lkml.kernel.org/r/20140223212737.751487689@linutronix.de
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    ---
    arch/mn10300/kernel/mn10300-watchdog.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/arch/mn10300/kernel/mn10300-watchdog.c b/arch/mn10300/kernel/mn10300-watchdog.c
    index db64a71..a2d8e69 100644
    --- a/arch/mn10300/kernel/mn10300-watchdog.c
    +++ b/arch/mn10300/kernel/mn10300-watchdog.c
    @@ -142,7 +142,7 @@ void watchdog_interrupt(struct pt_regs *regs, enum exception_code excep)
    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-03-04 18:41    [W:4.212 / U:0.132 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site