diff options
author | Madalin Bucur | 2016-11-15 10:41:01 +0200 |
---|---|---|
committer | David S. Miller | 2016-11-15 22:34:25 -0500 |
commit | ff86aae3b4112b85d2231c23bccbc49589df1c06 (patch) | |
tree | cb0fcad962ce162dc6b0326889f0c36646aa3a0c /Documentation/driver-model | |
parent | 319b0534b9588124cdc7128e121f3f85daaab556 (diff) |
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.txt | 4 |
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 |