lkml.org 
[lkml]   [2020]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 07/19] asm-generic/irqstat: Add optional __nmi_count member
    Add an optional __nmi_count member to irq_cpustat_t so more architectures
    can use the generic version.

    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    ---
    include/asm-generic/hardirq.h | 3 +++
    1 file changed, 3 insertions(+)

    --- a/include/asm-generic/hardirq.h
    +++ b/include/asm-generic/hardirq.h
    @@ -7,6 +7,9 @@

    typedef struct {
    unsigned int __softirq_pending;
    +#ifdef ARCH_WANTS_NMI_IRQSTAT
    + unsigned int __nmi_count;
    +#endif
    } ____cacheline_aligned irq_cpustat_t;

    #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
    \
     
     \ /
      Last update: 2020-11-13 15:25    [W:5.162 / U:0.256 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site