diff options
| author | Heiko Carstens <[email protected]> | 2024-11-26 13:28:25 +0000 |
|---|---|---|
| committer | Heiko Carstens <[email protected]> | 2024-11-28 13:12:04 +0000 |
| commit | 1200f216a3043ad78e89ce1f573fe6d62ed5e5d0 (patch) | |
| tree | 125fec8ae83b8d40611300ccc758f9b36a4f68ea /drivers/platform/x86/intel/pmt/class.c | |
| parent | s390/spinlock: Remove condition code clobber from arch_spin_unlock() (diff) | |
| download | kernel-1200f216a3043ad78e89ce1f573fe6d62ed5e5d0.tar.gz kernel-1200f216a3043ad78e89ce1f573fe6d62ed5e5d0.zip | |
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: Heiko Carstens <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
