nios2: fix kuser trampoline address
authorLey Foon Tan <lftan@altera.com>
Thu, 22 Jan 2015 09:05:16 +0000 (17:05 +0800)
committerLey Foon Tan <lftan@altera.com>
Thu, 22 Jan 2015 09:05:16 +0000 (17:05 +0800)
__kuser_sigtramp address should be 0x1044 instead of 0x1040.

Signed-off-by: Ley Foon Tan <lftan@altera.com>
arch/nios2/kernel/signal.c

index f9d27883a7148729545489c14bb678122da74e88..2d0ea25be1717de06d8cd138032dc5c7c5f3970d 100644 (file)
@@ -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;