projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e281a31
)
CRIS: v32: Correct auto-restart of syscalls
author
Jesper Nilsson
<jesper.nilsson@axis.com>
Tue, 3 Aug 2010 13:55:48 +0000
(15:55 +0200)
committer
Jesper Nilsson
<jesper.nilsson@axis.com>
Wed, 4 Aug 2010 11:02:01 +0000
(13:02 +0200)
Register number was incorrect in syscalls
that go via the restartblock (e.g, poll).
Signed-off-by: Edgar Iglesias <Edgar.Iglesias@axis.com>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/arch-v32/kernel/signal.c
patch
|
blob
|
history
diff --git
a/arch/cris/arch-v32/kernel/signal.c
b/arch/cris/arch-v32/kernel/signal.c
index
0b7e3f1
..
b3a05ae
100644
(file)
--- a/
arch/cris/arch-v32/kernel/signal.c
+++ b/
arch/cris/arch-v32/kernel/signal.c
@@
-587,7
+587,7
@@
do_signal(int canrestart, struct pt_regs *regs)
}
if (regs->r10 == -ERESTART_RESTARTBLOCK){
- regs->r
10
= __NR_restart_syscall;
+ regs->r
9
= __NR_restart_syscall;
regs->erp -= 2;
}
}