ARM: 7204/1: arch/arm/kernel/setup.c: initialize arm_dma_zone_size earlier
authorArnaud Patard <arnaud.patard@rtp-net.org>
Sun, 11 Dec 2011 19:32:25 +0000 (20:32 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 11 Dec 2011 22:42:01 +0000 (22:42 +0000)
commit9811ccdfa94b4773c8030569bd8ec75eafa485ac
tree8eaa29c0fb09924e0c5c365dc9e28cf9a307d7ac
parent6bd054096dce061560cee0e016e292e588dc438f
ARM: 7204/1: arch/arm/kernel/setup.c: initialize arm_dma_zone_size earlier

arm_dma_zone_size is used by arm_bootmem_free() which is called by
paging_init(). Thus it needs to be set before calling it.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Cc: stable@kernel.org
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/setup.c