Explorar o código

[PARISC] include <linux/prefetch.h> in drivers/parisc/iommu-helpers.h

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>
Cong Wang %!s(int64=13) %!d(string=hai) anos
pai
achega
650275dbfb
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      drivers/parisc/iommu-helpers.h

+ 2 - 0
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.