diff options
| author | Nicholas Piggin <[email protected]> | 2021-10-04 14:56:40 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-10-07 08:54:55 +0000 |
| commit | ff058a8ada5df0d84e5537cfaf89d06d71501580 (patch) | |
| tree | 62421c0d3d106968f2bebe26ecf7490cb1362bbe /lib/timerqueue.c | |
| parent | powerpc/traps: do not enable irqs in _exception (diff) | |
| download | kernel-ff058a8ada5df0d84e5537cfaf89d06d71501580.tar.gz kernel-ff058a8ada5df0d84e5537cfaf89d06d71501580.zip | |
powerpc/64: warn if local irqs are enabled in NMI or hardirq context
This can help catch bugs such as the one fixed by the previous change
to prevent _exception() from enabling irqs.
ppc32 could have a similar warning but it has no good config option to
debug this stuff (the test may be overkill to add for production
kernels).
Signed-off-by: Nicholas Piggin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
