diff options
author | 2008-04-16 19:55:26 +0100 | |
---|---|---|
committer | 2008-05-12 16:46:51 +0100 | |
commit | f4324f3eeb311d1889b8c25076f2669012323842 (patch) | |
tree | 4db25b6221447a64673e35fee2c97d31902f3118 /mm/mm_init.c | |
parent | [MIPS] MT: Functional fixes and a little reformatting of APRP support (diff) | |
download | wireguard-linux-f4324f3eeb311d1889b8c25076f2669012323842.tar.xz wireguard-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 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions