[vm] PA-RISC io_remap_page_range() compilefix

From: William Lee Irwin III (wli_at_holomorphy.com)
Date: 10/22/04

  • Next message: Mark Lord: "[patch 2.6.9-ac3] ide: fixes for 2.6.9-ac3 ide issues"
    Date:	Thu, 21 Oct 2004 18:45:11 -0700
    To: Linus Torvalds <torvalds@osdl.org>
    
    

    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@holomorphy.com>
    Signed-off-by: Joel Soete <soete.joel@tiscali.be>

    ===== 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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Mark Lord: "[patch 2.6.9-ac3] ide: fixes for 2.6.9-ac3 ide issues"

    Relevant Pages