summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/swiotlb.h
diff options
context:
space:
mode:
authorJan Beulich2007-02-06 03:53:04 +0100
committerTony Luck2007-02-06 03:53:04 +0100
commit51099005ab8e09d68a13fea8d55bc739c1040ca6 (patch)
tree865519c98fada85e5ae2ba4f617dea27e63aee56 /include/asm-x86_64/swiotlb.h
parent[IA64] swiotlb cleanup (diff)
downloadkernel-qcow2-linux-51099005ab8e09d68a13fea8d55bc739c1040ca6.tar.gz
kernel-qcow2-linux-51099005ab8e09d68a13fea8d55bc739c1040ca6.tar.xz
kernel-qcow2-linux-51099005ab8e09d68a13fea8d55bc739c1040ca6.zip
[IA64] swiotlb abstraction (e.g. for Xen)
Add abstraction so that the file can be used by environments other than IA64 and EM64T, namely for Xen. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'include/asm-x86_64/swiotlb.h')
-rw-r--r--include/asm-x86_64/swiotlb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86_64/swiotlb.h b/include/asm-x86_64/swiotlb.h
index f9c589539a82..ab913ffcad56 100644
--- a/include/asm-x86_64/swiotlb.h
+++ b/include/asm-x86_64/swiotlb.h
@@ -44,6 +44,7 @@ extern void swiotlb_init(void);
extern int swiotlb_force;
#ifdef CONFIG_SWIOTLB
+#define SWIOTLB_ARCH_NEED_ALLOC
extern int swiotlb;
#else
#define swiotlb 0