projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13c9d5a
)
arch/tile: change lower bound on syscall error return to -4095
author
Chris Metcalf
<
[email protected]
>
Thu, 14 Oct 2010 19:14:29 +0000
(15:14 -0400)
committer
Chris Metcalf
<
[email protected]
>
Thu, 14 Oct 2010 19:14:29 +0000
(15:14 -0400)
Previously we were using -1023, which is fine for normal syscall
error returns, but the common value in use for other platforms
is -4095, and one Tilera-specific driver does use values in the
-1100 range, so tickled this bug.
Signed-off-by: Chris Metcalf <
[email protected]
>
arch/tile/kernel/intvec_32.S
patch
|
blob
|
history
diff --git
a/arch/tile/kernel/intvec_32.S
b/arch/tile/kernel/intvec_32.S
index c62c2f421ef3a499b596a8bc2abb1b851a47a75a..f87c5c044d6ba6366ce0a44c6828641c4573f0b2 100644
(file)
--- a/
arch/tile/kernel/intvec_32.S
+++ b/
arch/tile/kernel/intvec_32.S
@@
-1020,7
+1020,7
@@
STD_ENTRY(interrupt_return)
/* Set r1 to errno if we are returning an error, otherwise zero. */
{
- moveli r29,
1024
+ moveli r29,
4096
sub r1, zero, r0
}
slt_u r29, r1, r29