aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/sigframe.h
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-02-08 15:10:00 -0500
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:40:46 -0400
commit123a63476cafcede1c70529f62a5bfb96a0efc1b (patch)
tree228ec89c7a665ac7f5107e7d3ae851461aa429ee /arch/x86/kernel/sigframe.h
parent2d19c4580682511be1eadf47cdee22d5eb002f94 (diff)
x86: move struct definitions to unifed sigframe.h
[ tglx@linutronix.de: cleanup the other structs as well ] Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: Roland McGrath <roland@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
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