sh: fix size calculation for NUMA node 0
authorMagnus Damm <damm@opensource.se>
Mon, 7 Dec 2009 14:11:59 +0000 (14:11 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 9 Dec 2009 03:40:42 +0000 (12:40 +0900)
commitf3a4c00ad35a9f21db82516fdc600cb1be301c23
tree7a3ba1a3367e18cb03460e8a8e353d1ba81b6eca
parentf701b3999890b867f87733c146d4cdf9319ead05
sh: fix size calculation for NUMA node 0

Fix the NUMA size calculation for node 0. Do the same
as the UMA version of setup_memory() and use address
instead of pfn when calculating the size.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/mm/numa.c