]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/fpu: Use XSAVE{,OPT,C,S} and XRSTOR{,S} mnemonics in xstate.h
authorUros Bizjak <ubizjak@gmail.com>
Thu, 13 Mar 2025 13:02:27 +0000 (14:02 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 13 Mar 2025 17:36:52 +0000 (18:36 +0100)
commit2883b4c2169a435488f7845e1b6fdc6f3438c7c6
treec8571e7cb4d8fa0028def5eb81922f782332f52a
parentd02198550423a0b695e7a24ec77153209ad45b09
x86/fpu: Use XSAVE{,OPT,C,S} and XRSTOR{,S} mnemonics in xstate.h

Current minimum required version of binutils is 2.25, which
supports XSAVE{,OPT,C,S} and XRSTOR{,S} instruction mnemonics.

Replace the byte-wise specification of XSAVE{,OPT,C,S}
and XRSTOR{,S} with these proper mnemonics.

No functional change intended.

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lore.kernel.org/r/20250313130251.383204-1-ubizjak@gmail.com
arch/x86/kernel/fpu/xstate.h