aboutsummaryrefslogtreecommitdiff
path: root/arch/i386/kernel/sigframe_32.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2007-10-11 11:12:46 +0200
committerThomas Gleixner <tglx@linutronix.de>2007-10-11 11:12:46 +0200
commit56cc623cd7e9a36ae57fbf43f85adc11cff13042 (patch)
tree1dff7c9f0bbb71cfd2c5fc0d178d52f8ac3b257c /arch/i386/kernel/sigframe_32.h
parent5bdef8fd610b8b07cf58ad2139f1f76bf127ad5d (diff)
i386: prepare shared kernel/sigframe.h
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/i386/kernel/sigframe_32.h')
-rw-r--r--arch/i386/kernel/sigframe_32.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/i386/kernel/sigframe_32.h b/arch/i386/kernel/sigframe_32.h
new file mode 100644
index 00000000000..0b2221711da
--- /dev/null
+++ b/arch/i386/kernel/sigframe_32.h
@@ -0,0 +1,21 @@
+struct sigframe
+{
+ char __user *pretcode;
+ int sig;
+ struct sigcontext sc;
+ struct _fpstate fpstate;
+ unsigned long extramask[_NSIG_WORDS-1];
+ char retcode[8];
+};
+
+struct rt_sigframe
+{
+ char __user *pretcode;
+ int sig;
+ struct siginfo __user *pinfo;
+ void __user *puc;
+ struct siginfo info;
+ struct ucontext uc;
+ struct _fpstate fpstate;
+ char retcode[8];
+};