mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 22:35:11 +07: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
26 lines
229 B
C
26 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
|