summaryrefslogtreecommitdiffstats
path: root/kernel/printk
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2018-07-25 15:41:57 +0200
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2018-07-25 15:41:57 +0200
commitcb782a3fa952478177341e67275885ae52340f99 (patch)
tree51e77534b367491c679d4c0e15db6a51dff62d55 /kernel/printk
parent037dde4113b5d1f886cb621d538438e7af7b6967 (diff)
downloadlinux-cb782a3fa952478177341e67275885ae52340f99.tar.bz2
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