diff options
author | Eugene Surovegin <ebs@ebshome.net> | 2005-04-16 15:24:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 15:24:15 -0700 |
commit | 35b535d9cc8dce79c3b72f47c4417c3159d7a8c9 (patch) | |
tree | 48749281a9a6f4e8da9ad3d0e8dd3c88c114f723 /crypto/khazad.c | |
parent | 16acbc624e2b7b750570cb672341d05a816051f4 (diff) | |
download | blackbird-op-linux-35b535d9cc8dce79c3b72f47c4417c3159d7a8c9.tar.gz blackbird-op-linux-35b535d9cc8dce79c3b72f47c4417c3159d7a8c9.zip |
[PATCH] ppc32: ppc4xx_pic - add acknowledge when enabling level-sensitive IRQ
This patch adds interrupt acknowledge to the PPC4xx PIC enable_irq
implementation for level-sensitive IRQ sources. This helps in cases when
enable/disable_irq is used in interrupt handlers for hardware, which
requires IRQ acknowledge to be issued from non-interrupt context (e.g.
when actual ACK in device needs an I2C transaction). For such strange
hardware, interrupt handler disables IRQ and defers actual ACK to some
other context. When this happens, IRQ is enabled again. For
level-sensitive sources we get spurious triggering right after IRQ is
enabled. This patch fixes this.
Suggested by Tolunay Orkun <listmember@orkun.us>.
Signed-off-by: Eugene Surovegin <ebs@ebshome.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'crypto/khazad.c')
0 files changed, 0 insertions, 0 deletions