summaryrefslogtreecommitdiff
path: root/include/linux/lmb.h
diff options
context:
space:
mode:
authorBadari Pulavarty <pbadari@us.ibm.com>2008-04-18 13:33:53 -0700
committerPaul Mackerras <paulus@samba.org>2008-04-29 15:57:53 +1000
commit9d88a2eb6e05c07aa0d484b8fa1372722fa921d0 (patch)
tree782b288099fbd96ed779c033f2c1322ff1822950 /include/linux/lmb.h
parent98d5c21c812e4e3b795f5bd912f407ed7c5e4e38 (diff)
downloadlinux-stable-9d88a2eb6e05c07aa0d484b8fa1372722fa921d0.tar.gz
linux-stable-9d88a2eb6e05c07aa0d484b8fa1372722fa921d0.tar.bz2
linux-stable-9d88a2eb6e05c07aa0d484b8fa1372722fa921d0.zip
[POWERPC] Provide walk_memory_resource() for powerpc
Provide walk_memory_resource() for 64-bit powerpc. PowerPC maintains logical memory region mapping in the lmb.memory structure. Walk through these structures and do the callbacks for the contiguous chunks. Signed-off-by: Badari Pulavarty <pbadari@us.ibm.com> Cc: Yasunori Goto <y-goto@jp.fujitsu.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/linux/lmb.h')
-rw-r--r--include/linux/lmb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/lmb.h b/include/linux/lmb.h
index 55d4b261a9e8..c46c89505dac 100644
--- a/include/linux/lmb.h
+++ b/include/linux/lmb.h
@@ -54,6 +54,7 @@ extern u64 __init lmb_phys_mem_size(void);
extern u64 __init lmb_end_of_DRAM(void);
extern void __init lmb_enforce_memory_limit(u64 memory_limit);
extern int __init lmb_is_reserved(u64 addr);
+extern int lmb_find(struct lmb_property *res);
extern void lmb_dump_all(void);