[POWERPC] Provide walk_memory_resource() for powerpc
commit9d88a2eb6e05c07aa0d484b8fa1372722fa921d0
authorBadari Pulavarty <pbadari@us.ibm.com>
Fri, 18 Apr 2008 20:33:53 +0000 (18 13:33 -0700)
committerPaul Mackerras <paulus@samba.org>
Tue, 29 Apr 2008 05:57:53 +0000 (29 15:57 +1000)
tree782b288099fbd96ed779c033f2c1322ff1822950
parent98d5c21c812e4e3b795f5bd912f407ed7c5e4e38
[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>
arch/powerpc/mm/mem.c
include/linux/lmb.h
lib/lmb.c