]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
iommu/dma: Add some missing #includes
authorRobin Murphy <robin.murphy@arm.com>
Fri, 18 Dec 2015 17:01:46 +0000 (17:01 +0000)
committerJoerg Roedel <jroedel@suse.de>
Mon, 28 Dec 2015 16:03:34 +0000 (17:03 +0100)
dma-iommu.c was naughtily relying on an implicit transitive #include of
linux/vmalloc.h, which is apparently not present on some architectures.
Add that, plus a couple more headers for other functions which are used
similarly.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dma-iommu.c

index 3a20db4f8604f77d7bd374c9b9278f65a8c2cb5c..4168668f5dd41a26436ccda462903a699c5462c4 100644 (file)
 
 #include <linux/device.h>
 #include <linux/dma-iommu.h>
+#include <linux/gfp.h>
 #include <linux/huge_mm.h>
 #include <linux/iommu.h>
 #include <linux/iova.h>
 #include <linux/mm.h>
+#include <linux/scatterlist.h>
+#include <linux/vmalloc.h>
 
 int iommu_dma_init(void)
 {