commit | f4324f3eeb311d1889b8c25076f2669012323842 | [log] [tgz] |
---|---|---|
author | Ralf Baechle <ralf@linux-mips.org> | Wed Apr 16 19:55:26 2008 +0100 |
committer | Ralf Baechle <ralf@linux-mips.org> | Mon May 12 16:46:51 2008 +0100 |
tree | 4db25b6221447a64673e35fee2c97d31902f3118 | |
parent | 1928cc84a0a937ce7042d9235996ab380f36f18a [diff] |
[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>