Skip to content

Commit

Permalink
From patchwork series 391183
Browse files Browse the repository at this point in the history
  • Loading branch information
Fox Snowpatch committed Jan 19, 2024
1 parent 414e92a commit 4953c6e
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 134 deletions.
1 change: 0 additions & 1 deletion arch/powerpc/configs/ps3_defconfig
Expand Up @@ -24,7 +24,6 @@ CONFIG_PS3_VRAM=m
CONFIG_PS3_LPM=m
# CONFIG_PPC_OF_BOOT_TRAMPOLINE is not set
CONFIG_KEXEC=y
# CONFIG_PPC64_BIG_ENDIAN_ELF_ABI_V2 is not set
CONFIG_PPC_4K_PAGES=y
CONFIG_SCHED_SMT=y
CONFIG_PM=y
Expand Down
6 changes: 4 additions & 2 deletions arch/powerpc/include/asm/ppc_asm.h
Expand Up @@ -201,11 +201,13 @@

#ifdef CONFIG_PPC64_ELF_ABI_V2
#define STK_GOT 24
#define __STK_PARAM(i) (32 + ((i)-3)*8)
#define STK_PARAM_AREA 32
#else
#define STK_GOT 40
#define __STK_PARAM(i) (48 + ((i)-3)*8)
#define STK_PARAM_AREA 48
#endif

#define __STK_PARAM(i) (STK_PARAM_AREA + ((i)-3)*8)
#define STK_PARAM(i) __STK_PARAM(__REG_##i)

#ifdef CONFIG_PPC64_ELF_ABI_V2
Expand Down

0 comments on commit 4953c6e

Please sign in to comment.