Skip to content

Commit

Permalink
[PARISC] include <linux/prefetch.h> in drivers/parisc/iommu-helpers.h
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
  • Loading branch information
congwang authored and James Bottomley committed Feb 27, 2012
1 parent 97a29d5 commit 650275d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/parisc/iommu-helpers.h
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 650275d

Please sign in to comment.