aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/signal_64.c
diff options
context:
space:
mode:
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{