diff options
author | Nicolas Pitre <[email protected]> | 2017-10-30 14:48:29 -0400 |
---|---|---|
committer | Richard Weinberger <[email protected]> | 2017-11-13 21:39:17 +0100 |
commit | 877b58ebc038f5e3f0afc5674fc35db75eaaa117 (patch) | |
tree | 4293283747fb813bb8d59b732badf000ee36fab1 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | a5929b64fa2bf381ac3dc57f4e7daa7f04e99dc0 (diff) |
mtd: mtdram: properly handle the phys argument in the point method
When the phys pointer is non null, the point method is expected to return
the physical address for the pointed area. In the case of the mtdram
driver we have to retrieve the physical address for the corresponding
vmalloc area. However, there is no guarantee that the vmalloc area is
made of physically contiguous pages. In that case we simply limit retlen
to the actually contiguous pages.
Signed-off-by: Nicolas Pitre <[email protected]>
Reviewed-by: Richard Weinberger <[email protected]>
Acked-by: Boris Brezillon <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions