Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed bug in sigreturn()

  • Loading branch information...
commit dddb9d329468a8a5b408f49b5717700ae0905938 1 parent c03a5b5
authored March 12, 2012 sbourdeauducq committed March 16, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  arch/lm32/kernel/signal.c
2  arch/lm32/kernel/signal.c
@@ -76,7 +76,7 @@ static int restore_sigcontext(struct pt_regs *regs,
76 76
 
77 77
 asmlinkage int _sys_rt_sigreturn(struct pt_regs *regs)
78 78
 {
79  
-	struct rt_sigframe __user *frame = (struct rt_sigframe __user *)regs->sp + 4;
  79
+	struct rt_sigframe __user *frame = (struct rt_sigframe __user *)(regs->sp + 4);
80 80
 	sigset_t set;
81 81
 	stack_t st;
82 82
 

0 notes on commit dddb9d3

Please sign in to comment.
Something went wrong with that request. Please try again.