diff options
author | Franck Bui-Huu <vagabon.xyz@gmail.com> | 2006-08-11 17:51:48 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-09-27 13:37:59 +0100 |
commit | b6f1f0dea1469e0c956eb89399916d60dd2a3808 (patch) | |
tree | 8fab639f1d883db492bcb27c5d0298d8cacd31c2 /CREDITS | |
parent | b5943182592ba256639a569c7d5305cf60360733 (diff) |
[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 <vagabon.xyz@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions