projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec6f34e
)
nios2: fix kuser trampoline address
author
Ley Foon Tan
<lftan@altera.com>
Thu, 22 Jan 2015 09:05:16 +0000
(17:05 +0800)
committer
Ley 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
patch
|
blob
|
history
diff --git
a/arch/nios2/kernel/signal.c
b/arch/nios2/kernel/signal.c
index f9d27883a7148729545489c14bb678122da74e88..2d0ea25be1717de06d8cd138032dc5c7c5f3970d 100644
(file)
--- a/
arch/nios2/kernel/signal.c
+++ b/
arch/nios2/kernel/signal.c
@@
-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) (0x104
0
);
+ regs->ra = (unsigned long) (0x104
4
);
/* Set up registers for signal handler */
regs->sp = (unsigned long) frame;