more changes on original files
[linux-2.4.git] / include / asm-parisc / rt_sigframe.h
1 #ifndef _ASM_PARISC_RT_SIGFRAME_H
2 #define _ASM_PARISC_RT_SIGFRAME_H
3
4 struct rt_sigframe {
5         unsigned int tramp[4];
6         struct siginfo info;
7         struct ucontext uc;
8 };
9
10 /*
11  * The 32-bit ABI wants at least 48 bytes for a function call frame:
12  * 16 bytes for arg0-arg3, and 32 bytes for magic (the only part of
13  * which Linux/parisc uses is sp-20 for the saved return pointer...)
14  * Then, the stack pointer must be rounded to a cache line (64 bytes).
15  */
16 #define PARISC_RT_SIGFRAME_SIZE                                 \
17         (((sizeof(struct rt_sigframe) + 48) + 63) & -64)
18
19 #endif