diff options
| author | Uros Bizjak <[email protected]> | 2023-11-09 20:09:56 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2023-12-13 12:35:38 +0000 |
| commit | 7d28365a06af74cee015a448d32ab6e98cd05cfb (patch) | |
| tree | 70fb5cad9cec88a0c061ecaa66f30fc2e9b0cec9 /arch/x86/include/asm/processor.h | |
| parent | x86/docs: Remove reference to syscall trampoline in PTI (diff) | |
| download | kernel-7d28365a06af74cee015a448d32ab6e98cd05cfb.tar.gz kernel-7d28365a06af74cee015a448d32ab6e98cd05cfb.zip | |
x86/head_64: Use TESTB instead of TESTL in secondary_startup_64_no_verify()
There is no need to use TESTL when checking the least-significant bit
with a TEST instruction. Use TESTB, which is three bytes shorter:
f6 05 00 00 00 00 01 testb $0x1,0x0(%rip)
vs:
f7 05 00 00 00 00 01 testl $0x1,0x0(%rip)
00 00 00
for the same effect.
No functional changes intended.
Signed-off-by: Uros Bizjak <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/include/asm/processor.h')
0 files changed, 0 insertions, 0 deletions
