diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2019-10-15 14:16:29 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2019-11-05 20:38:26 +0100 |
commit | 8e0c9dacc39eccd27e70cf3243896b43f5398c17 (patch) | |
tree | 864e186b834816c32a752d7e9f3c832442a0e092 /drivers/media/dvb-frontends/zd1301_demod.h | |
parent | dm clone: add bucket_lock_irq/bucket_unlock_irq helpers (diff) | |
download | linux-8e0c9dacc39eccd27e70cf3243896b43f5398c17.tar.xz linux-8e0c9dacc39eccd27e70cf3243896b43f5398c17.zip |
dm thin: replace spin_lock_irqsave with spin_lock_irq
If we are in a place where it is known that interrupts are enabled,
functions spin_lock_irq/spin_unlock_irq should be used instead of
spin_lock_irqsave/spin_unlock_irqrestore.
spin_lock_irq and spin_unlock_irq are faster because they don't need to
push and pop the flags register.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/media/dvb-frontends/zd1301_demod.h')
0 files changed, 0 insertions, 0 deletions