Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 608
b: refs/heads/master
c: 9747dd6
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mackerras authored and Linus Torvalds committed Apr 30, 2005
1 parent 0860650 commit ee24011
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: a6ad57fb4b5e9d68553f4440377b99f75588fa88
refs/heads/master: 9747dd6fa98f2983f4dd09cd6dad1fa3d2a4c5f2
4 changes: 2 additions & 2 deletions trunk/arch/ppc64/kernel/signal32.c
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ static int handle_rt_signal32(unsigned long sig, struct k_sigaction *ka,

/* Save user registers on the stack */
frame = &rt_sf->uc.uc_mcontext;
if (put_user(regs->gpr[1], (unsigned long __user *)newsp))
if (put_user(regs->gpr[1], (u32 __user *)newsp))
goto badframe;

if (vdso32_rt_sigtramp && current->thread.vdso_base) {
Expand Down Expand Up @@ -842,7 +842,7 @@ static int handle_signal32(unsigned long sig, struct k_sigaction *ka,
regs->link = (unsigned long) frame->mctx.tramp;
}

if (put_user(regs->gpr[1], (unsigned long __user *)newsp))
if (put_user(regs->gpr[1], (u32 __user *)newsp))
goto badframe;
regs->gpr[1] = (unsigned long) newsp;
regs->gpr[3] = sig;
Expand Down

0 comments on commit ee24011

Please sign in to comment.