x86: pci-dma.c declare iommu_bio_merge before they get used
authorJaswinder Singh <jaswinder@infradead.org>
Mon, 21 Jul 2008 16:54:29 +0000 (22:24 +0530)
committerIngo Molnar <mingo@elte.hu>
Tue, 22 Jul 2008 12:36:04 +0000 (14:36 +0200)
moved iommu_bio_merge from io_64.h to io.h because it is required for both.

Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
include/asm-x86/io.h
include/asm-x86/io_64.h

index bf5d629..a145210 100644 (file)
@@ -73,6 +73,8 @@ build_mmio_write(__writeq, "q", unsigned long, "r", )
 #define writeq writeq
 #endif
 
+extern int iommu_bio_merge;
+
 #ifdef CONFIG_X86_32
 # include "io_32.h"
 #else
index ddd8058..1e27137 100644 (file)
@@ -233,7 +233,6 @@ void memset_io(volatile void __iomem *a, int b, size_t c);
 
 #define flush_write_buffers()
 
-extern int iommu_bio_merge;
 #define BIO_VMERGE_BOUNDARY iommu_bio_merge
 
 /*