summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMadalin Bucur <madalin.bucur@nxp.com>2016-11-15 10:41:01 +0200
committerDavid S. Miller <davem@davemloft.net>2016-11-15 22:34:25 -0500
commitff86aae3b4112b85d2231c23bccbc49589df1c06 (patch)
treecb0fcad962ce162dc6b0326889f0c36646aa3a0c /Documentation
parent319b0534b9588124cdc7128e121f3f85daaab556 (diff)
downloadlinux-ff86aae3b4112b85d2231c23bccbc49589df1c06.tar.gz
linux-ff86aae3b4112b85d2231c23bccbc49589df1c06.tar.bz2
linux-ff86aae3b4112b85d2231c23bccbc49589df1c06.zip
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/driver-model/devres.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt
index 167070895498..ca9d1eb46bc0 100644
--- a/Documentation/driver-model/devres.txt
+++ b/Documentation/driver-model/devres.txt
@@ -332,6 +332,10 @@ MEM
MFD
devm_mfd_add_devices()
+PER-CPU MEM
+ devm_alloc_percpu()
+ devm_free_percpu()
+
PCI
pcim_enable_device() : after success, all PCI ops become managed
pcim_pin_device() : keep PCI device enabled after release