xref: /linux/arch/parisc/include/asm/rt_sigframe.h (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_PARISC_RT_SIGFRAME_H
3 #define _ASM_PARISC_RT_SIGFRAME_H
4 
5 struct rt_sigframe {
6 	unsigned int tramp[2]; /* holds original return address */
7 	struct siginfo info;
8 	struct ucontext uc;
9 };
10 
11 #define	SIGFRAME		128
12 #define FUNCTIONCALLFRAME	96
13 #define PARISC_RT_SIGFRAME_SIZE					\
14 	(((sizeof(struct rt_sigframe) + FUNCTIONCALLFRAME) + SIGFRAME) & -SIGFRAME)
15 
16 #endif
17