Skip to content
Commit f4324f3e authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 1928cc84
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment