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

From: Joe Perches
Date: Wed Apr 01 2015 - 12:32:18 EST


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 +++++++++++


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/