diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2018-07-25 15:41:57 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-07-25 15:41:57 +0200 |
commit | cb782a3fa952478177341e67275885ae52340f99 (patch) | |
tree | 51e77534b367491c679d4c0e15db6a51dff62d55 /ipc | |
parent | udlfb: avoid prefetch (diff) | |
download | linux-cb782a3fa952478177341e67275885ae52340f99.tar.xz linux-cb782a3fa952478177341e67275885ae52340f99.zip |
udlfb: use spin_lock_irq instead of spin_lock_irqsave
spin_lock_irqsave and spin_unlock_irqrestore is inteded to be called from
a context where it is unknown if interrupts are enabled or disabled (such
as interrupt handlers). From a process context, we should call
spin_lock_irq and spin_unlock_irq, that avoids the costly pushf and popf
instructions.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions