projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c36987e
)
frv: fix check on unsigned in do_signal()
author
Roel Kluin
<roel.kluin@gmail.com>
Mon, 26 Oct 2009 23:50:23 +0000
(16:50 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 29 Oct 2009 14:39:32 +0000
(07:39 -0700)
syscallno is unsigned
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/frv/kernel/signal.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/frv/kernel/signal.c
b/arch/frv/kernel/signal.c
index 6b0a2b6fed6a9326ab8f4d28955cda0bada96b6a..0974c0ecc594817ee9d8067aeba0eee7e3379dbf 100644
(file)
--- a/
arch/frv/kernel/signal.c
+++ b/
arch/frv/kernel/signal.c
@@
-527,7
+527,7
@@
static void do_signal(void)
no_signal:
/* Did we come from a system call? */
- if (__frame->syscallno
>= 0
) {
+ if (__frame->syscallno
!= -1
) {
/* Restart the system call - no handlers present */
switch (__frame->gr8) {
case -ERESTARTNOHAND: