summaryrefslogtreecommitdiffstats
path: root/drivers/base/iommu.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2009-05-07 01:03:07 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-05-07 01:36:10 +0200
commit60db402780ec257b287de591d65157575952bb4a (patch)
treebd33672a9ee16e422342c67faafa080d42075a72 /drivers/base/iommu.c
parentinitramfs: clean up messages related to initramfs unpacking (diff)
downloadlinux-60db402780ec257b287de591d65157575952bb4a.tar.xz
linux-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 '')
-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>