aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/sigframe.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/sigframe.h')
-rw-r--r--arch/x86/kernel/sigframe.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/x86/kernel/sigframe.h b/arch/x86/kernel/sigframe.h
new file mode 100644
index 000000000000..72bbb519d2dc
--- /dev/null
+++ b/arch/x86/kernel/sigframe.h
@@ -0,0 +1,27 @@
1#ifdef CONFIG_X86_32
2struct sigframe {
3 char __user *pretcode;
4 int sig;
5 struct sigcontext sc;
6 struct _fpstate fpstate;
7 unsigned long extramask[_NSIG_WORDS-1];
8 char retcode[8];
9};
10
11struct rt_sigframe {
12 char __user *pretcode;
13 int sig;
14 struct siginfo __user *pinfo;
15 void __user *puc;
16 struct siginfo info;
17 struct ucontext uc;
18 struct _fpstate fpstate;
19 char retcode[8];
20};
21#else
22struct rt_sigframe {
23 char __user *pretcode;
24 struct ucontext uc;
25 struct siginfo info;
26};
27#endif