diff options
author | Michael Neuling <mikey@neuling.org> | 2012-06-25 09:33:14 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-07-10 05:18:03 -0400 |
commit | 44ce6a5ee751893ecdedbd7544c645752a5dbc01 (patch) | |
tree | 6611fafa46eedf5c134dc722163ee70bc18ee6f9 /arch/powerpc/include/asm/ppc_asm.h | |
parent | 4404a9f98f0d426907a926c094a2dfbaa17b796d (diff) |
powerpc: Merge STK_REG/PARAM/FRAMESIZE
Merge the defines of STACKFRAMESIZE, STK_REG, STK_PARAM from different
places.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/ppc_asm.h')
-rw-r--r-- | arch/powerpc/include/asm/ppc_asm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/ppc_asm.h b/arch/powerpc/include/asm/ppc_asm.h index f6f67db212a7..c0c6318e7c24 100644 --- a/arch/powerpc/include/asm/ppc_asm.h +++ b/arch/powerpc/include/asm/ppc_asm.h | |||
@@ -181,6 +181,11 @@ END_FW_FTR_SECTION_IFSET(FW_FEATURE_SPLPAR) | |||
181 | #ifdef __KERNEL__ | 181 | #ifdef __KERNEL__ |
182 | #ifdef CONFIG_PPC64 | 182 | #ifdef CONFIG_PPC64 |
183 | 183 | ||
184 | #define STACKFRAMESIZE 256 | ||
185 | #define STK_REG(i) (112 + ((i)-14)*8) | ||
186 | |||
187 | #define STK_PARAM(i) (48 + ((i)-3)*8) | ||
188 | |||
184 | #define XGLUE(a,b) a##b | 189 | #define XGLUE(a,b) a##b |
185 | #define GLUE(a,b) XGLUE(a,b) | 190 | #define GLUE(a,b) XGLUE(a,b) |
186 | 191 | ||