Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;