]> git.baikalelectronics.ru Git - kernel.git/commit
iommu: Correct iommu_map / iommu_unmap prototypes
authorDmitry Osipenko <digetx@gmail.com>
Wed, 5 Jul 2017 17:27:53 +0000 (20:27 +0300)
committerJoerg Roedel <jroedel@suse.de>
Wed, 26 Jul 2017 09:27:16 +0000 (11:27 +0200)
commit4e1660efbff57c8eb11a3af32d147c541b3f41e6
treeeb7a9fb65a495ec1f6ad41e58615c99bc26c7692
parenta0c2d48e8a980433cb83570eb0427d07b22783e1
iommu: Correct iommu_map / iommu_unmap prototypes

Commit 9a1262690548 ("iommu/core: split mapping to page sizes as supported
by the hardware") replaced 'int gfp_order' with a 'size_t size' of
iommu_map / iommu_unmap function arguments, but missed the function
prototypes for the disabled CONFIG_IOMMU_API case, let's correct them
for consistency.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
include/linux/iommu.h