projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cb0837
)
asm-generic/irqstat: Add optional __nmi_count member
author
Thomas Gleixner
<tglx@linutronix.de>
Fri, 13 Nov 2020 14:02:14 +0000
(15:02 +0100)
committer
Thomas Gleixner
<tglx@linutronix.de>
Mon, 23 Nov 2020 09:31:06 +0000
(10:31 +0100)
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>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link:
https://lore.kernel.org/r/20201113141733.501611990@linutronix.de
include/asm-generic/hardirq.h
patch
|
blob
|
history
diff --git
a/include/asm-generic/hardirq.h
b/include/asm-generic/hardirq.h
index
d14214d
..
f5dd997
100644
(file)
--- 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 */