spi-topcliff-pch: Fix issue for transmitting over 4KByte
[zen-stable.git] / arch / parisc / include / asm / rt_sigframe.h
blobf0dd3b30f6c4633eba7e667b1b54401bc4c5ccde
1 #ifndef _ASM_PARISC_RT_SIGFRAME_H
2 #define _ASM_PARISC_RT_SIGFRAME_H
4 #define SIGRETURN_TRAMP 4
5 #define SIGRESTARTBLOCK_TRAMP 5
6 #define TRAMP_SIZE (SIGRETURN_TRAMP + SIGRESTARTBLOCK_TRAMP)
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;
18 #define SIGFRAME 128
19 #define FUNCTIONCALLFRAME 96
20 #define PARISC_RT_SIGFRAME_SIZE \
21 (((sizeof(struct rt_sigframe) + FUNCTIONCALLFRAME) + SIGFRAME) & -SIGFRAME)
23 #endif