diff options
author | Olof Johansson <olof@lixom.net> | 2007-12-20 13:11:18 -0600 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2007-12-28 09:22:24 -0600 |
commit | f365355e65ee619e3b7baeca69b46fd2c4a5ec68 (patch) | |
tree | 24133f987dc9ffe8f3a9b02355193e3d5113f8f2 /crypto/xts.c | |
parent | c2a7dcad9f0d92d7a96e735abb8bec7b9c621536 (diff) |
[POWERPC] pasemi: Implement NMI support
Some PWRficient-based boards have a NMI button that's wired up to a GPIO
as interrupt source. By configuring the openpic accordingly, these get
delivered as a machine check with high priority, instead of as an external
interrupt.
The device tree contains a property "nmi-source" in the openpic node
for these systems, and it's the (hwirq) source for the input.
Also, for these interrupts, the IACK is read from another register than
the regular (MCACK instead), but they are EOI'd as usual. So implement
said function for the mpic driver.
Finally, move a couple of external function defines to include/ instead
of local under sysdev. Being able to mask/unmask and eoi directly saves
us from setting up a dummy irq handler that will never be called.
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'crypto/xts.c')
0 files changed, 0 insertions, 0 deletions