summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-model
diff options
context:
space:
mode:
authorMadalin Bucur <madalin.bucur@nxp.com>2016-11-15 09:41:01 +0100
committerDavid S. Miller <davem@davemloft.net>2016-11-16 04:34:25 +0100
commitff86aae3b4112b85d2231c23bccbc49589df1c06 (patch)
treecb0fcad962ce162dc6b0326889f0c36646aa3a0c /Documentation/driver-model
parenttcp: allow to enable the repair mode for non-listening sockets (diff)
downloadlinux-ff86aae3b4112b85d2231c23bccbc49589df1c06.tar.xz
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/driver-model')
-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