Commit d24c8163 authored by Ley Foon Tan's avatar Ley Foon Tan
Browse files

nios2: fix kuser trampoline address



__kuser_sigtramp address should be 0x1044 instead of 0x1040.
Signed-off-by: default avatarLey Foon Tan <lftan@altera.com>
parent ec6f34e5
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment