OSDN Git Service
(root)
/
android-x86
/
kernel.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
f9d2788
..
2d0ea25
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;