Re: [PATCH] powerpc/mm: use memblock_is_memory

2015-10-12 Thread Michael Ellerman
On Sat, 2015-10-10 at 00:30 +0600, Alexander Kuleshov wrote: > The provides memblock_is_memory() function that > tries to find a given physical address in the memblock.memory.regions. > Let's use this function instead of direct coding of the same functionality. Are you sure it implements exactly

[PATCH] powerpc/mm: use memblock_is_memory

2015-10-09 Thread Alexander Kuleshov
The provides memblock_is_memory() function that tries to find a given physical address in the memblock.memory.regions. Let's use this function instead of direct coding of the same functionality. Signed-off-by: Alexander Kuleshov --- arch/powerpc/mm/mem.c | 6 ++ 1 file changed, 2 insertions