lkml.org 
[lkml]   [2018]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 06/11] ia64: Switch to generic local_softirq_pending() implementation
    Date
    Benefit from the generic softirq mask implementation that rely on per-CPU
    mutators instead of working with raw operators on top of this_cpu_ptr().

    Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Cc: David S. Miller <davem@davemloft.net>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Michael Ellerman <mpe@ellerman.id.au>
    Cc: James E.J. Bottomley <jejb@parisc-linux.org>
    Cc: Helge Deller <deller@gmx.de>
    Cc: Tony Luck <tony.luck@intel.com>
    Cc: Fenghua Yu <fenghua.yu@intel.com>
    Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
    Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
    Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
    Cc: Rich Felker <dalias@libc.org>
    ---
    arch/ia64/include/asm/hardirq.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/arch/ia64/include/asm/hardirq.h b/arch/ia64/include/asm/hardirq.h
    index 22fae71..ccde7c2 100644
    --- a/arch/ia64/include/asm/hardirq.h
    +++ b/arch/ia64/include/asm/hardirq.h
    @@ -13,7 +13,7 @@

    #define __ARCH_IRQ_STAT 1

    -#define local_softirq_pending() (*this_cpu_ptr(&ia64_cpu_info.softirq_pending))
    +#define local_softirq_pending_ref ia64_cpu_info.softirq_pending

    #include <linux/threads.h>
    #include <linux/irq.h>
    --
    2.7.4
    \
     
     \ /
      Last update: 2018-05-08 15:41    [W:4.475 / U:1.356 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site