diff options
| author | Nicolin Chen <[email protected]> | 2013-11-12 15:09:52 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-11-13 12:09:22 +0900 |
| commit | 684f0d3d14f2744ae7ad79063b21909e32bf444e (patch) | |
| tree | 0f09fcd01b3471b97bf611c6257f66afcf135fae /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | ff6092a8a413f3db1938b4606e078fa751ed6cdb (diff) | |
lib/genalloc: add a helper function for DMA buffer allocation
When using pool space for DMA buffer, there might be duplicated calling of
gen_pool_alloc() and gen_pool_virt_to_phys() in each implementation.
Thus it's better to add a simple helper function, a compatible one to the
common dma_alloc_coherent(), to save some code.
Signed-off-by: Nicolin Chen <[email protected]>
Cc: "Hans J. Koch" <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Eric Miao <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Haojian Zhuang <[email protected]>
Cc: Jaroslav Kysela <[email protected]>
Cc: Kevin Hilman <[email protected]>
Cc: Liam Girdwood <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Russell King <[email protected]>
Cc: Sekhar Nori <[email protected]>
Cc: Takashi Iwai <[email protected]>
Cc: Vinod Koul <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions