powerpc: Replace PPC64_ELF_ABI_v{1/2} by CONFIG_PPC64_ELF_ABI_V{1/2}
Replace all uses of PPC64_ELF_ABI_v1 and PPC64_ELF_ABI_v2 by resp CONFIG_PPC64_ELF_ABI_V1 and CONFIG_PPC64_ELF_ABI_V2. Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/ba13d59e8c50bc9aa6328f1c7f0c0d0278e0a3a7.1652074503.git.christophe.leroy@csgroup.eu
This commit is contained in:
committed by
Michael Ellerman
parent
661aa88039
commit
7d40aff821
@@ -31,7 +31,7 @@
|
||||
this, and makes other things simpler. Anton?
|
||||
--RR. */
|
||||
|
||||
#ifdef PPC64_ELF_ABI_v2
|
||||
#ifdef CONFIG_PPC64_ELF_ABI_V2
|
||||
|
||||
static func_desc_t func_desc(unsigned long addr)
|
||||
{
|
||||
@@ -122,7 +122,7 @@ static u32 ppc64_stub_insns[] = {
|
||||
/* Save current r2 value in magic place on the stack. */
|
||||
PPC_RAW_STD(_R2, _R1, R2_STACK_OFFSET),
|
||||
PPC_RAW_LD(_R12, _R11, 32),
|
||||
#ifdef PPC64_ELF_ABI_v1
|
||||
#ifdef CONFIG_PPC64_ELF_ABI_V1
|
||||
/* Set up new r2 from function descriptor */
|
||||
PPC_RAW_LD(_R2, _R11, 40),
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user