mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 08:58:07 +00:00
ca3f0d80dd
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
25 lines
229 B
C
25 lines
229 B
C
#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
|