forked from luck/tmp_suning_uos_patched
7385817359
This change modifies gen_pool_get() and devm_gen_pool_create() client interfaces adding one more argument "name" of a gen_pool object. Due to implementation gen_pool_get() is capable to retrieve only one gen_pool associated with a device even if multiple gen_pools are created, fortunately right at the moment it is sufficient for the clients, hence provide NULL as a valid argument on both producer devm_gen_pool_create() and consumer gen_pool_get() sides. Because only one created gen_pool per device is addressable, explicitly add a restriction to devm_gen_pool_create() to create only one gen_pool per device, this implies two possible error codes returned by the function, account it on client side (only misc/sram). This completes client side changes related to genalloc updates. [akpm@linux-foundation.org: gen_pool_get() cleanup] Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> Cc: Philipp Zabel <p.zabel@pengutronix.de> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Russell King <linux@arm.linux.org.uk> Cc: Nicolas Ferre <nicolas.ferre@atmel.com> Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com> Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com> Cc: Shawn Guo <shawnguo@kernel.org> Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
devices | ||
3ds_debugboard.c | ||
3ds_debugboard.h | ||
anatop.c | ||
avic.c | ||
board-mx31lilly.h | ||
board-mx31lite.h | ||
board-mx31moboard.h | ||
common.h | ||
cpu-imx5.c | ||
cpu-imx25.c | ||
cpu-imx27.c | ||
cpu-imx31.c | ||
cpu-imx35.c | ||
cpu.c | ||
cpuidle-imx5.c | ||
cpuidle-imx6q.c | ||
cpuidle-imx6sl.c | ||
cpuidle-imx6sx.c | ||
cpuidle.h | ||
crmregs-imx3.h | ||
devices-imx1.h | ||
devices-imx21.h | ||
devices-imx27.h | ||
devices-imx31.h | ||
devices-imx35.h | ||
ehci-imx27.c | ||
ehci-imx31.c | ||
ehci-imx35.c | ||
ehci.h | ||
epit.c | ||
eukrea-baseboards.h | ||
gpc.c | ||
hardware.h | ||
headsmp.S | ||
hotplug.c | ||
iim.h | ||
imx1-dt.c | ||
imx27-dt.c | ||
imx31-dt.c | ||
imx35-dt.c | ||
iomux-imx31.c | ||
iomux-mx1.h | ||
iomux-mx2x.h | ||
iomux-mx3.h | ||
iomux-mx21.h | ||
iomux-mx27.h | ||
iomux-mx35.h | ||
iomux-v1.c | ||
iomux-v1.h | ||
iomux-v3.c | ||
iomux-v3.h | ||
irq-common.c | ||
irq-common.h | ||
Kconfig | ||
mach-apf9328.c | ||
mach-armadillo5x0.c | ||
mach-bug.c | ||
mach-imx6q.c | ||
mach-imx6sl.c | ||
mach-imx6sx.c | ||
mach-imx6ul.c | ||
mach-imx7d.c | ||
mach-imx25.c | ||
mach-imx27_visstrim_m10.c | ||
mach-imx50.c | ||
mach-imx51.c | ||
mach-imx53.c | ||
mach-kzm_arm11_01.c | ||
mach-ls1021a.c | ||
mach-mx21ads.c | ||
mach-mx27_3ds.c | ||
mach-mx27ads.c | ||
mach-mx31_3ds.c | ||
mach-mx31ads.c | ||
mach-mx31lilly.c | ||
mach-mx31lite.c | ||
mach-mx31moboard.c | ||
mach-mx35_3ds.c | ||
mach-pca100.c | ||
mach-pcm037_eet.c | ||
mach-pcm037.c | ||
mach-pcm043.c | ||
mach-qong.c | ||
mach-scb9328.c | ||
mach-vf610.c | ||
mach-vpr200.c | ||
Makefile | ||
Makefile.boot | ||
mm-imx1.c | ||
mm-imx3.c | ||
mm-imx21.c | ||
mm-imx27.c | ||
mmdc.c | ||
mx1.h | ||
mx2x.h | ||
mx3x.h | ||
mx21.h | ||
mx27.h | ||
mx31.h | ||
mx31lilly-db.c | ||
mx31lite-db.c | ||
mx31moboard-devboard.c | ||
mx31moboard-marxbot.c | ||
mx31moboard-smartbot.c | ||
mx35.h | ||
mxc.h | ||
pcm037.h | ||
platsmp.c | ||
pm-imx3.c | ||
pm-imx5.c | ||
pm-imx6.c | ||
pm-imx27.c | ||
src.c | ||
ssi-fiq-ksym.c | ||
ssi-fiq.S | ||
suspend-imx6.S | ||
suspend-imx53.S | ||
system.c | ||
tzic.c | ||
ulpi.h |