[PATCH 7/15] powerpc: merge STK_REG/PARAM/FRAMESIZE
Andreas Schwab
schwab at linux-m68k.org
Fri Jun 8 22:12:56 EST 2012
Michael Neuling <mikey at neuling.org> writes:
> Index: clone3/arch/powerpc/include/asm/ppc_asm.h
> ===================================================================
> --- clone3.orig/arch/powerpc/include/asm/ppc_asm.h
> +++ clone3/arch/powerpc/include/asm/ppc_asm.h
> @@ -178,6 +178,11 @@ END_FW_FTR_SECTION_IFSET(FW_FEATURE_SPLP
> #define HMT_HIGH or 3,3,3
> #define HMT_EXTRA_HIGH or 7,7,7 # power7 only
>
> +#define STACKFRAMESIZE 256
> +#define STK_REG(i) (112 + ((i)-14)*8)
> +
> +#define STK_PARAM(i) (48 + ((i)-3)*8)
That should probably be bracketed by CONFIG_PPC64, since it is only
applicable to 64-bit code.
Andreas.
--
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Linuxppc-dev
mailing list