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

From: Peter Zijlstra
Date: Mon Mar 12 2012 - 13:33:47 EST


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

There's only NMI_LOCAL and NMI_UNKNOWN, and you can only use NMI_LOCAL
if you can tell you generated the NMI. See it as one massively shared
interrupt line.

The NMI_UNKNOWN handler is basically the handler of last resort for
those that cannot multiplex the line, hence the restriction of only
having one.
--
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/