summaryrefslogtreecommitdiffstats
path: root/kernel/printk
diff options
context:
space:
mode:
authorMikulas Patocka2018-07-25 15:41:57 +0200
committerBartlomiej Zolnierkiewicz2018-07-25 15:41:57 +0200
commitcb782a3fa952478177341e67275885ae52340f99 (patch)
tree51e77534b367491c679d4c0e15db6a51dff62d55 /kernel/printk
parentudlfb: avoid prefetch (diff)
downloadkernel-qcow2-linux-cb782a3fa952478177341e67275885ae52340f99.tar.gz
kernel-qcow2-linux-cb782a3fa952478177341e67275885ae52340f99.tar.xz
kernel-qcow2-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 'kernel/printk')
0 files changed, 0 insertions, 0 deletions