]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
devres: add devm_alloc_percpu()
authorMadalin Bucur <madalin.bucur@nxp.com>
Tue, 15 Nov 2016 08:41:01 +0000 (10:41 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 03:34:25 +0000 (22:34 -0500)
commitff86aae3b4112b85d2231c23bccbc49589df1c06
treecb0fcad962ce162dc6b0326889f0c36646aa3a0c
parent319b0534b9588124cdc7128e121f3f85daaab556
devres: add devm_alloc_percpu()

Introduce managed counterparts for alloc_percpu() and free_percpu().
Add devm_alloc_percpu() and devm_free_percpu() into the managed
interfaces list.

Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/driver-model/devres.txt
drivers/base/devres.c
include/linux/device.h