aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/swiotlb.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-07-29 15:42:49 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-29 23:59:55 -0400
commit65f87d8a8a6e1b560c61951d0a68ed80f7c8ff19 (patch)
treef3f189827eaca620020d3742a347f2be5911c5cf /include/asm-x86_64/swiotlb.h
parent355540f3338e1408dac98413f05d612a76d4f5e3 (diff)
[PATCH] x86_64: Fix swiotlb=force
It was broken before. But having it is important as possible hardware bug workaround. And previously there was no way to force swiotlb if there is another IOMMU. Side effect is that iommu=force won't force swiotlb anymore even if there isn't another IOMMU. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64/swiotlb.h')
-rw-r--r--include/asm-x86_64/swiotlb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86_64/swiotlb.h b/include/asm-x86_64/swiotlb.h
index 5f9a01805821..ba94ab3d2673 100644
--- a/include/asm-x86_64/swiotlb.h
+++ b/include/asm-x86_64/swiotlb.h
@@ -42,6 +42,8 @@ extern void swiotlb_free_coherent (struct device *hwdev, size_t size,
42extern int swiotlb_dma_supported(struct device *hwdev, u64 mask); 42extern int swiotlb_dma_supported(struct device *hwdev, u64 mask);
43extern void swiotlb_init(void); 43extern void swiotlb_init(void);
44 44
45extern int swiotlb_force;
46
45#ifdef CONFIG_SWIOTLB 47#ifdef CONFIG_SWIOTLB
46extern int swiotlb; 48extern int swiotlb;
47#else 49#else