summaryrefslogtreecommitdiff
path: root/drivers/base/iommu.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2009-05-06 16:03:07 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-05-06 16:36:10 -0700
commit60db402780ec257b287de591d65157575952bb4a (patch)
treebd33672a9ee16e422342c67faafa080d42075a72 /drivers/base/iommu.c
parenta1e6b6c1a676d25acdf079ee8ab5cdfeb5e5b835 (diff)
downloadlwn-60db402780ec257b287de591d65157575952bb4a.tar.gz
lwn-60db402780ec257b287de591d65157575952bb4a.zip
drivers/base/iommu.c: add missing includes
Fix zillions of -mm x86_64 allmodconfig build errors - the file uses EXPORT_SYMBOL() and kmalloc but misses the needed includes. Cc: Greg Kroah-Hartman <gregkh@suse.de> Cc: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/base/iommu.c')
-rw-r--r--drivers/base/iommu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/iommu.c b/drivers/base/iommu.c
index 9f0e672f4be8..8ad4ffea6920 100644
--- a/drivers/base/iommu.c
+++ b/drivers/base/iommu.c
@@ -18,6 +18,8 @@
#include <linux/bug.h>
#include <linux/types.h>
+#include <linux/module.h>
+#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/iommu.h>