aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/GEN-for-each-reg.h
AgeCommit message (Collapse)AuthorFilesLines
2021-10-28x86/asm: Fix register orderPeter Zijlstra1-4/+10
Ensure the register order is correct; this allows for easy translation between register number and trampoline and vice-versa. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Borislav Petkov <[email protected]> Acked-by: Josh Poimboeuf <[email protected]> Tested-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/r/[email protected]
2020-04-30x86: Simplify retpoline declarationPeter Zijlstra1-0/+25
Because of how KSYM works, we need one declaration per line. Seeing how we're going to be doubling the amount of retpoline symbols, simplify the machinery in order to avoid having to copy/paste even more. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Josh Poimboeuf <[email protected]> Link: https://lkml.kernel.org/r/[email protected]