X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=include%2Fasm-m68knommu%2Fpgtable.h;h=48980c21b67b756e33e24fa45a6f989a5fbdbeb6;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=8f2b5904236adccda10792877681b4bfe057f685;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-m68knommu/pgtable.h b/include/asm-m68knommu/pgtable.h index 8f2b59042..48980c21b 100644 --- a/include/asm-m68knommu/pgtable.h +++ b/include/asm-m68knommu/pgtable.h @@ -1,6 +1,8 @@ #ifndef _M68KNOMMU_PGTABLE_H #define _M68KNOMMU_PGTABLE_H +#include + /* * (C) Copyright 2000-2002, Greg Ungerer */ @@ -54,7 +56,8 @@ extern int is_in_rom(unsigned long); * No page table caches to initialise. */ #define pgtable_cache_init() do { } while (0) -#define io_remap_page_range remap_page_range +#define io_remap_page_range(vma, vaddr, paddr, size, prot) \ + remap_pfn_range(vma, vaddr, (paddr) >> PAGE_SHIFT, size, prot) /* * All 32bit addresses are effectively valid for vmalloc...