m32r: Fix set_memory() for DISCONTIGMEM
authorHirokazu Takata <takata@linux-m32r.org>
Wed, 23 Sep 2009 12:37:06 +0000 (21:37 +0900)
committerHirokazu Takata <takata@linux-m32r.org>
Sun, 4 Oct 2009 03:02:36 +0000 (12:02 +0900)
In case CONFIG_DISCONTIGMEM is set, the memory size of system was
always determined by CONFIG_MEMORY_SIZE and was not changeable.

This patch fixes set_memory() of arch/m32r/mm/discontig.c so that
we can specify memory size by the "mem=<size>" kernel parameter.

Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>

No differences found