Re: [PATCH v6 1/4] genalloc: add a global pool list, allow to find pools by phys address

2012-11-20 Thread Andrew Morton
On Fri, 16 Nov 2012 11:30:14 +0100 Philipp Zabel wrote: > This patch keeps all created pools in a global list and adds two > functions that allow to retrieve the gen_pool pointer from a known > physical address and from a device tree node. > > ... > > +/* > + * gen_pool_find_by_phys - find a pool

[PATCH v6 1/4] genalloc: add a global pool list, allow to find pools by phys address

2012-11-16 Thread Philipp Zabel
This patch keeps all created pools in a global list and adds two functions that allow to retrieve the gen_pool pointer from a known physical address and from a device tree node. Signed-off-by: Philipp Zabel Reviewed-by: Shawn Guo --- include/linux/genalloc.h | 14 ++ lib/genalloc.c