-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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) <peterz@infradead.org> Acked-by: Josh Poimboeuf <jpoimboe@redhat.com> Link: https://lkml.kernel.org/r/20200428191700.091696925@infradead.org
- Loading branch information
Peter Zijlstra
committed
Apr 30, 2020
1 parent
089dd8e
commit ca3f0d8
Showing
3 changed files
with
49 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#ifdef CONFIG_64BIT | ||
GEN(rax) | ||
GEN(rbx) | ||
GEN(rcx) | ||
GEN(rdx) | ||
GEN(rsi) | ||
GEN(rdi) | ||
GEN(rbp) | ||
GEN(r8) | ||
GEN(r9) | ||
GEN(r10) | ||
GEN(r11) | ||
GEN(r12) | ||
GEN(r13) | ||
GEN(r14) | ||
GEN(r15) | ||
#else | ||
GEN(eax) | ||
GEN(ebx) | ||
GEN(ecx) | ||
GEN(edx) | ||
GEN(esi) | ||
GEN(edi) | ||
GEN(ebp) | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters