]> Gentwo Git Trees - linux/.git/commit
x86/asm: Replace "REP; NOP" with PAUSE mnemonic
authorUros Bizjak <ubizjak@gmail.com>
Fri, 18 Apr 2025 08:07:44 +0000 (10:07 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 18 Apr 2025 08:19:25 +0000 (10:19 +0200)
commitd109ff4f0bc32de354247a6e8ede3ffc8ef14cd0
tree98c9ddd330bc71e5952b694f10318e1aaaf6b970
parent42c782fae38f0559e6355707ee0afde9ac16dcc3
x86/asm: Replace "REP; NOP" with PAUSE mnemonic

Current minimum required version of binutils is 2.25,
which supports PAUSE instruction mnemonic.

Replace "REP; NOP" with this proper mnemonic.

No functional change intended.

Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Link: https://lore.kernel.org/r/20250418080805.83679-2-ubizjak@gmail.com
arch/x86/boot/boot.h
arch/x86/include/asm/vdso/processor.h
arch/x86/kernel/relocate_kernel_64.S