aboutsummaryrefslogtreecommitdiffstats
path: root/arch/tile/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tile/include')
-rw-r--r--arch/tile/include/arch/abi.h4
-rw-r--r--arch/tile/include/asm/siginfo.h4
2 files changed, 5 insertions, 3 deletions
diff --git a/arch/tile/include/arch/abi.h b/arch/tile/include/arch/abi.h
index da8df5b9d914..8affc76f771a 100644
--- a/arch/tile/include/arch/abi.h
+++ b/arch/tile/include/arch/abi.h
@@ -59,9 +59,7 @@
59 * The ABI requires callers to allocate a caller state save area of 59 * The ABI requires callers to allocate a caller state save area of
60 * this many bytes at the bottom of each stack frame. 60 * this many bytes at the bottom of each stack frame.
61 */ 61 */
62#ifdef __tile__ 62#define C_ABI_SAVE_AREA_SIZE (2 * (CHIP_WORD_SIZE() / 8))
63#define C_ABI_SAVE_AREA_SIZE (2 * __SIZEOF_POINTER__)
64#endif
65 63
66/** 64/**
67 * The operand to an 'info' opcode directing the backtracer to not 65 * The operand to an 'info' opcode directing the backtracer to not
diff --git a/arch/tile/include/asm/siginfo.h b/arch/tile/include/asm/siginfo.h
index 0c12d1b9ddf2..56d661bb010b 100644
--- a/arch/tile/include/asm/siginfo.h
+++ b/arch/tile/include/asm/siginfo.h
@@ -17,6 +17,10 @@
17 17
18#define __ARCH_SI_TRAPNO 18#define __ARCH_SI_TRAPNO
19 19
20#ifdef __LP64__
21# define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int))
22#endif
23
20#include <asm-generic/siginfo.h> 24#include <asm-generic/siginfo.h>
21 25
22/* 26/*