[PARISC] include <linux/prefetch.h> in drivers/parisc/iommu-helpers.h
authorCong Wang <xiyou.wangcong@gmail.com>
Fri, 3 Feb 2012 07:34:16 +0000 (15:34 +0800)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 27 Feb 2012 15:44:15 +0000 (09:44 -0600)
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>
drivers/parisc/iommu-helpers.h

index a9c46cc2db3701157485b8194af83a6c03c7b189..8c33491b21fe75b7b38fddcab4022676d274db43 100644 (file)
@@ -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.