diff options
author | Dan Williams <dan.j.williams@intel.com> | 2018-03-30 04:07:13 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-05-16 08:08:33 +0200 |
commit | 5981690ddb8f72f9546a2d017a914cf56095fc1f (patch) | |
tree | 0f7b9d0f919cf9eef997d8905bc79063ec30cc3e /crypto/simd.c | |
parent | Linux 4.17-rc2 (diff) | |
download | linux-5981690ddb8f72f9546a2d017a914cf56095fc1f.tar.xz linux-5981690ddb8f72f9546a2d017a914cf56095fc1f.zip |
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" <jglisse@redhat.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'crypto/simd.c')
0 files changed, 0 insertions, 0 deletions