diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-01-02 16:12:50 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-01-02 16:12:50 +0100 |
commit | 631de3708d595d153e8a510a3608689290f4c0ed (patch) | |
tree | dbecf12cccac76e89cf1908f80b4f515cada731e /include/linux/ratelimit.h | |
parent | b2cfb05a701809abee591265a198afa029d68bff (diff) | |
download | linux-631de3708d595d153e8a510a3608689290f4c0ed.tar.gz linux-631de3708d595d153e8a510a3608689290f4c0ed.tar.bz2 linux-631de3708d595d153e8a510a3608689290f4c0ed.zip |
ide: add ide_[un]lock_hwgroup() helpers
Add ide_[un]lock_hwgroup() inline helpers for obtaining exclusive
access to the given hwgroup and update the core code accordingly.
[ This change besides making code saner results in more efficient
use of ide_{get,release}_lock(). ]
Cc: Michael Schmitz <schmitz@biophys.uni-duesseldorf.de>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Elias Oltmanns <eo@nebensachen.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ratelimit.h')
0 files changed, 0 insertions, 0 deletions