]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
commit6b6fabce5ac47668a2c2d9a14f1cdcc23c4ed896
tree2d0aef1bfaf9f8e471d3f5b420edc06bd5d1e148
parentbac33bd571a9c2969efb52dd02c5407fbc49c360
m32r: Fix set_memory() for DISCONTIGMEM

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>
arch/m32r/mm/discontig.c