]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] mem_init() cleanups
authorNicolas Pitre <nico@cam.org>
Wed, 17 Sep 2008 18:50:42 +0000 (14:50 -0400)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 28 Nov 2008 15:36:46 +0000 (15:36 +0000)
commit6db015e49c03d42247d2a985475b833635406a4f
tree933168a174d2294fa5e89a4eb60be77e01194bcd
parenta1bbaec0cd2a59d4bb09b72e4541a8a12e480d5d
[ARM] mem_init() cleanups

Make free_area() arguments pfn based, and return number of freed pages.
This will simplify highmem initialization later.

Also, codepages, datapages and initpages are actually codesize, datasize
and initsize.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/init.c