Messages in this thread | | | Subject | RE: [PATCH 1/2] watchdog, hpwdt: Remove priority option for NMI callback | From | Peter Zijlstra <> | Date | Fri, 09 Mar 2012 18:33:09 +0100 |
| |
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.
| |