[Blackfin] arch: fix bug kernel boot message: memory information is not reasonable
authorYi Li <yi.li@analog.com>
Sun, 27 Jan 2008 11:56:17 +0000 (19:56 +0800)
committerBryan Wu <bryan.wu@analog.com>
Sun, 27 Jan 2008 11:56:17 +0000 (19:56 +0800)
commitee7883b7466e721a72edacbcba2fe9cf449d82b2
treecefc955b47f9f2e99f739ee27144e025cf6300e9
parentde8c43f2fca9bb06f3ee87b38a61d5d9966ce221
[Blackfin] arch: fix bug kernel boot message: memory information is not reasonable

Some of the information in kernel boot message is not reasonable.
http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3846

 - use _rambase as the start of kernel image.
   kernel is in the region [_rambase, _ramstart]
 - count in pages in per-cpu-page list as available memory
 - reserved memory now include: [0 - 4K] for bad pointer catching,
   memory reserved for abnormaly 05000263, memory reserved by kernel itself.

Signed-off-by: Yi Li <yi.li@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/kernel/setup.c
arch/blackfin/mm/init.c