diff options
author | Badari Pulavarty <pbadari@us.ibm.com> | 2008-04-18 13:33:53 -0700 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-29 15:57:53 +1000 |
commit | 9d88a2eb6e05c07aa0d484b8fa1372722fa921d0 (patch) | |
tree | 782b288099fbd96ed779c033f2c1322ff1822950 /include/linux/lmb.h | |
parent | 98d5c21c812e4e3b795f5bd912f407ed7c5e4e38 (diff) | |
download | kernel-crypto-9d88a2eb6e05c07aa0d484b8fa1372722fa921d0.tar.gz kernel-crypto-9d88a2eb6e05c07aa0d484b8fa1372722fa921d0.tar.xz kernel-crypto-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/lmb.h b/include/linux/lmb.h index 55d4b261a9e..c46c89505da 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); |