Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137066
b: refs/heads/master
c: 2505170
h: refs/heads/master
v: v3
  • Loading branch information
Hiroshi Shimamoto authored and Ingo Molnar committed Mar 3, 2009
1 parent 4bf4567 commit ea61e87
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 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: 1fae0279ce4811fa123001515d1ed3d68c1d557f
refs/heads/master: 2505170211f7630361a852e25b60f4df4c878daa
9 changes: 4 additions & 5 deletions trunk/arch/x86/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,10 @@ get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, size_t frame_size,

if (used_math()) {
sp -= sig_xstate_size;
#ifdef CONFIG_X86_32
*fpstate = (void __user *) sp;
#else /* !CONFIG_X86_32 */
*fpstate = (void __user *)round_down(sp, 64);
#endif /* CONFIG_X86_32 */
#ifdef CONFIG_X86_64
sp = round_down(sp, 64);
#endif /* CONFIG_X86_64 */
*fpstate = (void __user *)sp;

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

0 comments on commit ea61e87

Please sign in to comment.