Skip to content

Commit

Permalink
From patchwork series 388147
Browse files Browse the repository at this point in the history
  • Loading branch information
Fox Snowpatch committed Dec 27, 2023
1 parent 3c0fd43 commit cd74e9b
Show file tree
Hide file tree
Showing 2 changed files with 171 additions and 133 deletions.
6 changes: 4 additions & 2 deletions arch/powerpc/include/asm/ppc_asm.h
Original file line number Diff line number Diff line change
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 cd74e9b

Please sign in to comment.