diff options
author | Dan Williams <[email protected]> | 2018-03-29 19:07:13 -0700 |
---|---|---|
committer | Dan Williams <[email protected]> | 2018-05-15 23:08:33 -0700 |
commit | 5981690ddb8f72f9546a2d017a914cf56095fc1f (patch) | |
tree | 0f7b9d0f919cf9eef997d8905bc79063ec30cc3e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 6d08b06e67cd117f6992c46611dfb4ce267cd71e (diff) |
memremap: split devm_memremap_pages() and memremap() infrastructure
Currently, kernel/memremap.c contains generic code for supporting
memremap() (CONFIG_HAS_IOMEM) and devm_memremap_pages()
(CONFIG_ZONE_DEVICE). This causes ongoing build maintenance problems as
additions to memremap.c, especially for the ZONE_DEVICE case, need to be
careful about being placed in ifdef guards. Remove the need for these
ifdef guards by moving the ZONE_DEVICE support functions to their own
compilation unit.
Cc: "Jérôme Glisse" <[email protected]>
Cc: Ross Zwisler <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions