lkml.org 
[lkml]   [2020]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[tip: irq/core] parisc: Remove bogus __IRQ_STAT macro
    The following commit has been merged into the irq/core branch of tip:

    Commit-ID: 9f112156f8da016df2dcbe77108e5b070aa58992
    Gitweb: https://git.kernel.org/tip/9f112156f8da016df2dcbe77108e5b070aa58992
    Author: Thomas Gleixner <tglx@linutronix.de>
    AuthorDate: Fri, 13 Nov 2020 15:02:08 +01:00
    Committer: Thomas Gleixner <tglx@linutronix.de>
    CommitterDate: Mon, 23 Nov 2020 10:31:05 +01:00

    parisc: Remove bogus __IRQ_STAT macro

    This is a leftover from a historical array based implementation and unused.

    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
    Link: https://lore.kernel.org/r/20201113141732.680780121@linutronix.de

    ---
    arch/parisc/include/asm/hardirq.h | 1 -
    1 file changed, 1 deletion(-)

    diff --git a/arch/parisc/include/asm/hardirq.h b/arch/parisc/include/asm/hardirq.h
    index 7f70395..fad29aa 100644
    --- a/arch/parisc/include/asm/hardirq.h
    +++ b/arch/parisc/include/asm/hardirq.h
    @@ -32,7 +32,6 @@ typedef struct {
    DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);

    #define __ARCH_IRQ_STAT
    -#define __IRQ_STAT(cpu, member) (irq_stat[cpu].member)
    #define inc_irq_stat(member) this_cpu_inc(irq_stat.member)
    #define __inc_irq_stat(member) __this_cpu_inc(irq_stat.member)
    #define ack_bad_irq(irq) WARN(1, "unexpected IRQ trap at vector %02x\n", irq)
    \
     
     \ /
      Last update: 2020-11-24 00:09    [W:4.045 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site