Skip to content

Commit

Permalink
arch/tile: change lower bound on syscall error return to -4095
Browse files Browse the repository at this point in the history
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 <cmetcalf@tilera.com>
  • Loading branch information
Chris Metcalf committed Oct 14, 2010
1 parent 13c9d5a commit a4dbc5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/tile/kernel/intvec_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a4dbc5e

Please sign in to comment.