aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2012-02-03 15:34:16 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-14 05:50:48 -0700
commit288e9d859cc10e121a33dd603bd7174c98bd7ac8 (patch)
treef91679a6f97637803ff12d914dfe5290f85d5c89 /drivers
parent49b74a1aebc95914fff369b746ce13558eb9063f (diff)
downloadkernel_samsung_smdk4412-288e9d859cc10e121a33dd603bd7174c98bd7ac8.zip
kernel_samsung_smdk4412-288e9d859cc10e121a33dd603bd7174c98bd7ac8.tar.gz
kernel_samsung_smdk4412-288e9d859cc10e121a33dd603bd7174c98bd7ac8.tar.bz2
PARISC: include <linux/prefetch.h> in drivers/parisc/iommu-helpers.h
commit 650275dbfb2f4c12bc91420ad5a99f955eabec98 upstream. drivers/parisc/iommu-helpers.h:62: error: implicit declaration of function 'prefetchw' make[3]: *** [drivers/parisc/sba_iommu.o] Error 1 drivers/parisc/iommu-helpers.h needs to #include <linux/prefetch.h> where prefetchw is declared. Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com> Cc: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/parisc/iommu-helpers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/parisc/iommu-helpers.h b/drivers/parisc/iommu-helpers.h
index a9c46cc..8c33491 100644
--- a/drivers/parisc/iommu-helpers.h
+++ b/drivers/parisc/iommu-helpers.h
@@ -1,3 +1,5 @@
+#include <linux/prefetch.h>
+
/**
* iommu_fill_pdir - Insert coalesced scatter/gather chunks into the I/O Pdir.
* @ioc: The I/O Controller.