diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-02-08 12:10:00 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 17:40:46 +0200 |
commit | 123a63476cafcede1c70529f62a5bfb96a0efc1b (patch) | |
tree | 228ec89c7a665ac7f5107e7d3ae851461aa429ee /arch/x86/kernel/sigframe.h | |
parent | 2d19c4580682511be1eadf47cdee22d5eb002f94 (diff) | |
download | op-kernel-dev-123a63476cafcede1c70529f62a5bfb96a0efc1b.zip op-kernel-dev-123a63476cafcede1c70529f62a5bfb96a0efc1b.tar.gz |
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.h | 27 |
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 0000000..72bbb51 --- /dev/null +++ b/arch/x86/kernel/sigframe.h @@ -0,0 +1,27 @@ +#ifdef CONFIG_X86_32 +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]; +}; +#else +struct rt_sigframe { + char __user *pretcode; + struct ucontext uc; + struct siginfo info; +}; +#endif |