[PATCH RFC 01/10] devres: add devm_alloc_percpu()

Joe Perches joe at perches.com
Thu Apr 2 03:32:01 AEDT 2015


On Wed, 2015-04-01 at 19:19 +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.

It'd be nice to add include <linux/percpu.h> to these
files rather than get included indirectly via module.h

>  drivers/base/devres.c                 | 63 +++++++++++++++++++++++++++++++++++
>  include/linux/device.h                | 19 +++++++++++




More information about the Linuxppc-dev mailing list