diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2008-04-16 19:55:26 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-05-12 16:46:51 +0100 |
commit | f4324f3eeb311d1889b8c25076f2669012323842 (patch) | |
tree | 4db25b6221447a64673e35fee2c97d31902f3118 /lib/idr.c | |
parent | 1928cc84a0a937ce7042d9235996ab380f36f18a (diff) | |
download | blackbird-op-linux-f4324f3eeb311d1889b8c25076f2669012323842.tar.gz blackbird-op-linux-f4324f3eeb311d1889b8c25076f2669012323842.zip |
[MIPS] IRIX: Handle do_brk() error return correctly.
do_brk's return value was stored in an unsigned long variable before being
tested for less than zero making the test always fail. Also do_brk's
called irix_map_prda_page wasn't forwarding do_brk() success.
Bug checking the return value of do_brk() and initial fix for it found
by Roel Kluin <12o3l@tiscali.nl>.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions