[v3 1/8] devres: add devm_alloc_percpu()

Scott Wood scottwood at freescale.com
Fri Oct 2 11:00:41 AEST 2015


On Thu, Sep 24, 2015 at 06:00:12PM +0300, Madalin Bucur wrote:
> 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 at freescale.com>
> Tested-by: Madalin-Cristian Bucur <madalin.bucur at freescale.com>
> ---
>  Documentation/driver-model/devres.txt |  4 +++
>  drivers/base/devres.c                 | 64 +++++++++++++++++++++++++++++++++++
>  include/linux/device.h                | 19 +++++++++++
>  3 files changed, 87 insertions(+)

Greg KH needs to be CCed on any drivers/base changes.

-Scott


More information about the Linuxppc-dev mailing list