Skip to content

Commit

Permalink
nios2: fix kuser trampoline address
Browse files Browse the repository at this point in the history
__kuser_sigtramp address should be 0x1044 instead of 0x1040.

Signed-off-by: Ley Foon Tan <lftan@altera.com>
  • Loading branch information
Ley Foon Tan committed Jan 22, 2015
1 parent ec6f34e commit d24c816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/nios2/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ static int setup_rt_frame(struct ksignal *ksig, sigset_t *set,

/* Set up to return from userspace; jump to fixed address sigreturn
trampoline on kuser page. */
regs->ra = (unsigned long) (0x1040);
regs->ra = (unsigned long) (0x1044);

/* Set up registers for signal handler */
regs->sp = (unsigned long) frame;
Expand Down

0 comments on commit d24c816

Please sign in to comment.