diff options
author | Ondrej Zary <[email protected]> | 2015-02-06 23:11:55 +0100 |
---|---|---|
committer | James Bottomley <[email protected]> | 2015-04-09 18:09:24 -0700 |
commit | 1b0224b0ec6003c06cc369188510642a5fb3b864 (patch) | |
tree | d01d88252ce202e7aa84aa1912d1b537c2d85865 /lib/memory-notifier-error-inject.c | |
parent | 764a0c7e840085828afbc16fb9b47be5712f5531 (diff) |
aha1542: rework locking
Remove aha1542_lock and use host_lock instead.
Remove interrupt and queuecommand function wrappers.
Remove locking from lowlevel _out and _in functions, they now can
onle be called (at runtime) with host_lock being held.
Remove ssleep(4) in aha1542_reset as we can't sleep while holding a spinlock.
It's useless anyway as wait_mask will wait until the controller is idle and
kernel waits for 10 seconds (HOST_RESET_SETTLE_TIME) after that.
Signed-off-by: Ondrej Zary <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions