From: Franck Bui-Huu Date: Fri, 11 Aug 2006 15:51:48 +0000 (+0200) Subject: [MIPS] setup.c: cleanup bootmem_init() X-Git-Tag: v2.6.19-rc1~1010 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6f1f0dea1469e0c956eb89399916d60dd2a3808;p=pandora-kernel.git [MIPS] setup.c: cleanup bootmem_init() This function although doing simple thing is hard to follow. It's mainly due to: - a lot of #ifdef - bad local names - redundant tests So this patch try to address these issues. It also do not use max_pfn global which is marked as an unused exported symbol. As a bonus side, it's now really easy to see what part of the code is for no-numa system. There's also no point to make this function inline. Signed-off-by: Franck Bui-Huu Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed