Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137063
b: refs/heads/master
c: 36a4526
h: refs/heads/master
i:
  137061: 8b5512b
  137059: 5e55098
  137055: c6cb075
v: v3
  • Loading branch information
Hiroshi Shimamoto authored and Ingo Molnar committed Feb 28, 2009
1 parent aa50f73 commit 46515e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 97286a2b64725aac2d584ddd1f94871f9991d5a1
refs/heads/master: 36a4526583ad61fe7cb7432f53bce52ea198813a
6 changes: 2 additions & 4 deletions trunk/arch/x86/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -409,15 +409,13 @@ get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, size_t frame_size,
if (used_math()) {
sp -= sig_xstate_size;
*fpstate = (void __user *)round_down(sp, 64);

if (save_i387_xstate(*fpstate) < 0)
return (void __user *) -1L;

sp -= frame_size;
return (void __user *)round_down(sp, 16) - 8;
}

sp -= frame_size;
return (void __user *)round_down(sp, 64) - 8;
return (void __user *)round_down(sp, 16) - 8;
}

static int __setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
Expand Down

0 comments on commit 46515e9

Please sign in to comment.