Nicolas Pitre 4b5f32cee0 [ARM] rationalize memory configuration code some more
Currently there are two instances of struct meminfo: one in
kernel/setup.c marked __initdata, and another in mm/init.c with
permanent storage.  Let's keep only the later to directly populate
the permanent version from arm_add_memory().

Also move common validation tests between the MMU and non-MMU cases
into arm_add_memory() to remove some duplication.  Protection against
overflowing the membank array is also moved in there in order to cover
the kernel cmdline parsing path as well.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-11-28 15:36:44 +00:00
..
2008-08-12 19:54:09 +01:00
2008-09-06 12:10:45 +01:00
2008-08-12 19:54:07 +01:00
2008-09-06 12:10:45 +01:00
2008-09-06 12:10:45 +01:00
2008-10-10 04:18:56 +04:00
2008-10-09 15:00:36 +01:00
2008-11-04 15:02:09 +00:00
2008-10-23 16:00:23 +02:00
2008-09-06 12:10:45 +01:00
2008-10-09 15:00:36 +01:00
2008-10-01 16:41:10 +01:00
2008-09-06 10:35:51 +01:00
2008-09-06 12:10:45 +01:00