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: NScott Wood <swood@redhat.com> Signed-off-by: NThomas Gleixner <tglx@linutronix.de> Acked-by: NDon Zickus <dzickus@redhat.com> Link: http://lkml.kernel.org/r/20170724213242.27598-1-swood@redhat.com
Showing
想要评论请 注册 或 登录