Skip to content

Commit 4348e91

Browse files
committed
x86/fpu: Clarify the "xa" symbolic name used in the XSTATE* macros
Tie together the %[xa] in the XSAVE/XRSTOR definitions with the respective usage in the asm macros so that it is perfectly clear. No functional changes. Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
1 parent 2883b4c commit 4348e91

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/x86/kernel/fpu/xstate.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ static inline int update_pkru_in_sigframe(struct xregs_state __user *buf, u64 ma
109109
/*
110110
* After this @err contains 0 on success or the trap number when the
111111
* operation raises an exception.
112+
*
113+
* The [xa] input parameter below represents the struct xregs_state pointer
114+
* and the asm symbolic name for the argument used in the XSAVE/XRSTOR insns
115+
* above.
112116
*/
113117
#define XSTATE_OP(op, st, lmask, hmask, err) \
114118
asm volatile("1:" op "\n\t" \

0 commit comments

Comments
 (0)