projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5418983
)
[ARM] Fix test for unimplemented ARM syscalls
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 8 Nov 2009 20:05:28 +0000
(20:05 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 8 Nov 2009 20:05:28 +0000
(20:05 +0000)
The existing test always failed since 'no' was always greater than
0x7ff.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/traps.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/kernel/traps.c
b/arch/arm/kernel/traps.c
index 95718a6b50a6bde2a2e059e906b59398a1d08428..1bbda04a5380536d7a576e02843c353cf4b3f34d 100644
(file)
--- a/
arch/arm/kernel/traps.c
+++ b/
arch/arm/kernel/traps.c
@@
-573,7
+573,7
@@
asmlinkage int arm_syscall(int no, struct pt_regs *regs)
if not implemented, rather than raising SIGILL. This
way the calling program can gracefully determine whether
a feature is supported. */
- if (
no
<= 0x7ff)
+ if (
(no & 0xffff)
<= 0x7ff)
return -ENOSYS;
break;
}