diff options
| author | Rusty Russell <[email protected]> | 2011-08-03 16:21:06 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-08-03 14:25:20 -1000 |
| commit | 88eca0207cf1574328c3ce8c3be537a9317261bb (patch) | |
| tree | 155b13f5df1e239fea2ad5512ef5b19865de4a9e /include/linux/debugobjects.h | |
| parent | a7295898a1d2e501427f557111c2b4bdfc90b1ed (diff) | |
ida: simplified functions for id allocation
The current hyper-optimized functions are overkill if you simply want to
allocate an id for a device. Create versions which use an internal
lock.
In followup patches, numerous drivers are converted to use this
interface.
Thanks to Tejun for feedback.
Signed-off-by: Rusty Russell <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions