Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88591
b: refs/heads/master
c: 123a634
h: refs/heads/master
i:
  88589: 1056c8d
  88587: 7c42102
  88583: b735c77
  88575: 31b55bb
v: v3
  • Loading branch information
Harvey Harrison authored and Ingo Molnar committed Apr 17, 2008
1 parent 139abfa commit 3b4c6f3
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2d19c4580682511be1eadf47cdee22d5eb002f94
refs/heads/master: 123a63476cafcede1c70529f62a5bfb96a0efc1b
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/asm-offsets_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <linux/personality.h>
#include <linux/suspend.h>
#include <asm/ucontext.h>
#include "sigframe_32.h"
#include "sigframe.h"
#include <asm/pgtable.h>
#include <asm/fixmap.h>
#include <asm/processor.h>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
struct sigframe
{
#ifdef CONFIG_X86_32
struct sigframe {
char __user *pretcode;
int sig;
struct sigcontext sc;
Expand All @@ -8,8 +8,7 @@ struct sigframe
char retcode[8];
};

struct rt_sigframe
{
struct rt_sigframe {
char __user *pretcode;
int sig;
struct siginfo __user *pinfo;
Expand All @@ -19,3 +18,10 @@ struct rt_sigframe
struct _fpstate fpstate;
char retcode[8];
};
#else
struct rt_sigframe {
char __user *pretcode;
struct ucontext uc;
struct siginfo info;
};
#endif
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/signal_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <asm/uaccess.h>
#include <asm/i387.h>
#include <asm/vdso.h>
#include "sigframe_32.h"
#include "sigframe.h"

#define DEBUG_SIG 0

Expand Down
9 changes: 1 addition & 8 deletions trunk/arch/x86/kernel/signal_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <asm/proto.h>
#include <asm/ia32_unistd.h>
#include <asm/mce.h>
#include "sigframe.h"

/* #define DEBUG_SIG 1 */

Expand Down Expand Up @@ -58,14 +59,6 @@ sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss,
/*
* Do a signal return; undo the signal stack.
*/

struct rt_sigframe
{
char __user *pretcode;
struct ucontext uc;
struct siginfo info;
};

static int
restore_sigcontext(struct pt_regs *regs, struct sigcontext __user *sc, unsigned long *prax)
{
Expand Down

0 comments on commit 3b4c6f3

Please sign in to comment.