Re: [PATCH 1/2] watchdog, hpwdt: Remove priority option for NMIcallback

From: Don Zickus
Date: Fri Mar 09 2012 - 13:14:15 EST


On Fri, Mar 09, 2012 at 05:28:15PM +0000, Mingarelli, Thomas wrote:
> Can I register for more than one type? Like NMI_UNKNOWN | NMI_DIE (or something like that)?

There are only two queues, NMI_LOCAL and NMI_UNKNOWN. The difference is
NMI_LOCAL has handlers that can determine if they are the NMI source,
which is needed because _every_ handler is executed on every NMI.
NMI_UNKNOWN is reserved for handlers that just assume the NMI is theirs.

Cheers,
Don
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/