|
@@ -166,11 +166,9 @@ int __register_nmi_handler(unsigned int type, struct nmiaction *action)
|
|
|
spin_lock_irqsave(&desc->lock, flags);
|
|
|
|
|
|
/*
|
|
|
- * most handlers of type NMI_UNKNOWN never return because
|
|
|
- * they just assume the NMI is theirs. Just a sanity check
|
|
|
- * to manage expectations
|
|
|
+ * Indicate if there are multiple registrations on the
|
|
|
+ * internal NMI handler call chains (SERR and IO_CHECK).
|
|
|
*/
|
|
|
- WARN_ON_ONCE(type == NMI_UNKNOWN && !list_empty(&desc->head));
|
|
|
WARN_ON_ONCE(type == NMI_SERR && !list_empty(&desc->head));
|
|
|
WARN_ON_ONCE(type == NMI_IO_CHECK && !list_empty(&desc->head));
|
|
|
|