diff options
author | Ley Foon Tan <lftan@altera.com> | 2015-01-22 04:05:16 -0500 |
---|---|---|
committer | Ley Foon Tan <lftan@altera.com> | 2015-01-22 04:05:16 -0500 |
commit | d24c8163b755be4a47482ab8240090d56ca8ef9b (patch) | |
tree | 3fbb5a9f32ff558459fc143daa376e9f230674dd /arch/nios2 | |
parent | ec6f34e5b552fb0a52e6aae1a5afbbb1605cc6cc (diff) |
nios2: fix kuser trampoline address
__kuser_sigtramp address should be 0x1044 instead of 0x1040.
Signed-off-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2')
-rw-r--r-- | arch/nios2/kernel/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nios2/kernel/signal.c b/arch/nios2/kernel/signal.c index f9d27883a714..2d0ea25be171 100644 --- 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, | |||
200 | 200 | ||
201 | /* Set up to return from userspace; jump to fixed address sigreturn | 201 | /* Set up to return from userspace; jump to fixed address sigreturn |
202 | trampoline on kuser page. */ | 202 | trampoline on kuser page. */ |
203 | regs->ra = (unsigned long) (0x1040); | 203 | regs->ra = (unsigned long) (0x1044); |
204 | 204 | ||
205 | /* Set up registers for signal handler */ | 205 | /* Set up registers for signal handler */ |
206 | regs->sp = (unsigned long) frame; | 206 | regs->sp = (unsigned long) frame; |