From: Ralf Baechle Date: Wed, 16 Apr 2008 18:55:26 +0000 (+0100) Subject: [MIPS] IRIX: Handle do_brk() error return correctly. X-Git-Tag: v2.6.26-rc3~131^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4324f3eeb311d1889b8c25076f2669012323842;p=pandora-kernel.git [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 --- Reading git-diff-tree failed