summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMagnus Damm <magnus.damm@gmail.com>2008-04-23 20:56:44 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-05-08 19:51:51 +0900
commit0146ba78b9339c27ed12545f9bdc208604354bb3 (patch)
tree1866ff99bce81899a671727a90d22b09372f8ebf /include
parent3d83984e99d80672b1d2e3c7dfdd393631883428 (diff)
downloadkernel-crypto-0146ba78b9339c27ed12545f9bdc208604354bb3.tar.gz
kernel-crypto-0146ba78b9339c27ed12545f9bdc208604354bb3.tar.xz
kernel-crypto-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 'include')
-rw-r--r--include/asm-sh/mmzone.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sh/mmzone.h b/include/asm-sh/mmzone.h
index 7969f381dff..2969253c404 100644
--- a/include/asm-sh/mmzone.h
+++ b/include/asm-sh/mmzone.h
@@ -41,6 +41,8 @@ void __init plat_mem_setup(void);
/* arch/sh/kernel/setup.c */
void __init setup_bootmem_allocator(unsigned long start_pfn);
+void __init __add_active_range(unsigned int nid, unsigned long start_pfn,
+ unsigned long end_pfn);
#endif /* __KERNEL__ */
#endif /* __ASM_SH_MMZONE_H */