aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/signal_64.c
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/signal_64.c
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/signal_64.c')
-rw-r--r--arch/x86/kernel/signal_64.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/arch/x86/kernel/signal_64.c b/arch/x86/kernel/signal_64.c
index 1045a07eeaec..8bb1013eb62b 100644
--- a/arch/x86/kernel/signal_64.c
+++ b/arch/x86/kernel/signal_64.c
@@ -26,6 +26,7 @@
26#include <asm/proto.h> 26#include <asm/proto.h>
27#include <asm/ia32_unistd.h> 27#include <asm/ia32_unistd.h>
28#include <asm/mce.h> 28#include <asm/mce.h>
29#include "sigframe.h"
29 30
30/* #define DEBUG_SIG 1 */ 31/* #define DEBUG_SIG 1 */
31 32
@@ -58,14 +59,6 @@ sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss,
58/* 59/*
59 * Do a signal return; undo the signal stack. 60 * Do a signal return; undo the signal stack.
60 */ 61 */
61
62struct rt_sigframe
63{
64 char __user *pretcode;
65 struct ucontext uc;
66 struct siginfo info;
67};
68
69static int 62static int
70restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, unsigned long *prax) 63restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, unsigned long *prax)
71{ 64{