diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2009-06-15 18:52:57 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-06-15 18:52:57 +0200 |
commit | eba8999cefb6b61704d8fa825b7694825a087765 (patch) | |
tree | e5f7d1ed464efe21160b425e8a57b017b9e99441 /include/linux/ide.h | |
parent | 74414a91204ee57528041f771da1fd1ee3ba64c4 (diff) | |
download | linux-stable-eba8999cefb6b61704d8fa825b7694825a087765.tar.gz linux-stable-eba8999cefb6b61704d8fa825b7694825a087765.tar.bz2 linux-stable-eba8999cefb6b61704d8fa825b7694825a087765.zip |
ide: move IRQ clearing from ack_intr() method to clear_irq() method (take 2)
There are now two methods that clear the port interrupt: ack_intr() method,
implemented only on M680x0 machines, that is called at the start of ide_intr(),
and clear_irq() method, that is called somewhat later in this function. In
order to stop this duplication, delegate the task of clearing the interrupt
to clear_irq() method, only leaving to ack_intr() the task of testing for the
port interrupt.
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
0 files changed, 0 insertions, 0 deletions