Merge branch 'x86/urgent' into x86/pat
[deliverable/linux.git] / arch / parisc / include / asm / rt_sigframe.h
1 #ifndef _ASM_PARISC_RT_SIGFRAME_H
2 #define _ASM_PARISC_RT_SIGFRAME_H
3
4 #define SIGRETURN_TRAMP 4
5 #define SIGRESTARTBLOCK_TRAMP 5
6 #define TRAMP_SIZE (SIGRETURN_TRAMP + SIGRESTARTBLOCK_TRAMP)
7
8 struct rt_sigframe {
9 /* XXX: Must match trampoline size in arch/parisc/kernel/signal.c
10 Secondary to that it must protect the ERESTART_RESTARTBLOCK
11 trampoline we left on the stack (we were bad and didn't
12 change sp so we could run really fast.) */
13 unsigned int tramp[TRAMP_SIZE];
14 struct siginfo info;
15 struct ucontext uc;
16 };
17
18 #define SIGFRAME 128
19 #define FUNCTIONCALLFRAME 96
20 #define PARISC_RT_SIGFRAME_SIZE \
21 (((sizeof(struct rt_sigframe) + FUNCTIONCALLFRAME) + SIGFRAME) & -SIGFRAME)
22
23 #endif
This page took 0.079078 seconds and 5 git commands to generate.