diff options
author | Scott Wood <swood@redhat.com> | 2017-07-24 16:32:42 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-08-16 20:40:09 +0200 |
commit | c455fd9235b6bd2802db86109cfa0ec105992f68 (patch) | |
tree | ab616a25b0e9608c9102a68b87c8ac21506994e8 /kernel/torture.c | |
parent | ef954844c7ace62f773f4f23e28d2d915adc419f (diff) | |
download | linux-c455fd9235b6bd2802db86109cfa0ec105992f68.tar.gz linux-c455fd9235b6bd2802db86109cfa0ec105992f68.tar.bz2 linux-c455fd9235b6bd2802db86109cfa0ec105992f68.zip |
x86/nmi: Use raw lock
register_nmi_handler() can be called from PREEMPT_RT atomic context
(e.g. wakeup_cpu_via_init_nmi() or native_stop_other_cpus()), and thus
ordinary spinlocks cannot be used.
Signed-off-by: Scott Wood <swood@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Don Zickus <dzickus@redhat.com>
Link: http://lkml.kernel.org/r/20170724213242.27598-1-swood@redhat.com
Diffstat (limited to 'kernel/torture.c')
0 files changed, 0 insertions, 0 deletions