Skip to content
Commit 1200f216 authored by Heiko Carstens's avatar Heiko Carstens
Browse files

s390/spinlock: Generate shorter code for arch_spin_unlock()



Use mvhhi instead of sth to write a zero to spinlocks. Compared to the
sth variant this avoids the load of zero to a register, and reduces
register pressure.

Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent 2c3bc137
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment