diff options
author | Magnus Damm <magnus.damm@gmail.com> | 2008-04-23 20:56:44 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-05-08 19:51:51 +0900 |
commit | 0146ba78b9339c27ed12545f9bdc208604354bb3 (patch) | |
tree | 1866ff99bce81899a671727a90d22b09372f8ebf /arch/sh/mm | |
parent | 3d83984e99d80672b1d2e3c7dfdd393631883428 (diff) | |
download | linux-0146ba78b9339c27ed12545f9bdc208604354bb3.tar.gz linux-0146ba78b9339c27ed12545f9bdc208604354bb3.tar.bz2 linux-0146ba78b9339c27ed12545f9bdc208604354bb3.zip |
sh: add memory resources to /proc/iomem
Add physical memory resources such as System RAM, Kernel code/data/bss
and reserved crash dump area to /proc/iomem. Same strategy as on x86.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/mm')
-rw-r--r-- | arch/sh/mm/numa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/mm/numa.c b/arch/sh/mm/numa.c index 2de7302724fc..1663199ce888 100644 --- a/arch/sh/mm/numa.c +++ b/arch/sh/mm/numa.c @@ -59,7 +59,7 @@ void __init setup_bootmem_node(int nid, unsigned long start, unsigned long end) free_pfn = start_pfn = start >> PAGE_SHIFT; end_pfn = end >> PAGE_SHIFT; - add_active_range(nid, start_pfn, end_pfn); + __add_active_range(nid, start_pfn, end_pfn); /* Node-local pgdat */ NODE_DATA(nid) = pfn_to_kaddr(free_pfn); |