linux-parisc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch] parisc: include <linux/prefetch.h> in drivers/parisc/iommu-helpers.h
@ 2012-02-03  7:34 Cong Wang
  0 siblings, 0 replies; only message in thread
From: Cong Wang @ 2012-02-03  7:34 UTC (permalink / raw)
  To: linux-kernel
  Cc: Andrew Morton, Kyle McMartin, Helge Deller, James E.J. Bottomley,
	WANG Cong, linux-parisc

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.

Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Helge Deller <deller@gmx.de>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>

---
diff --git a/drivers/parisc/iommu-helpers.h b/drivers/parisc/iommu-helpers.h
index a9c46cc..460aed9 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.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-03  7:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-03  7:34 [Patch] parisc: include <linux/prefetch.h> in drivers/parisc/iommu-helpers.h Cong Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).