[vm] PA-RISC io_remap_page_range() compilefix

From: William Lee Irwin III
Date: Thu Oct 21 2004 - 20:57:24 EST


Joel reported that I forgot a backslash in this macro definition. This
patch gets PA-RISC compiling again. Linus/akpm, please apply.

Signed-off-by: William Irwin <wli@xxxxxxxxxxxxxx>
Signed-off-by: Joel Soete <soete.joel@xxxxxxxxxx>

===== include/asm-parisc/pgtable.h 1.21 vs edited =====
--- 1.21/include/asm-parisc/pgtable.h Wed Oct 20 01:37:06 2004
+++ edited/include/asm-parisc/pgtable.h Thu Oct 21 07:39:08 2004
@@ -505,7 +505,7 @@

#endif /* !__ASSEMBLY__ */

-#define io_remap_page_range(vma, vaddr, paddr, size, prot)
+#define io_remap_page_range(vma, vaddr, paddr, size, prot) \
remap_pfn_range(vma, vaddr, (paddr) >> PAGE_SHIFT, size, prot)

/* We provide our own get_unmapped_area to provide cache coherency */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/