diff options
author | Richard Weinberger | 2012-02-07 01:22:47 +0100 |
---|---|---|
committer | Richard Weinberger | 2012-03-25 00:29:56 +0100 |
commit | 4d94d6d030adfdea4837694d293ec6918d133ab2 (patch) | |
tree | d84f1defd9d53885e866cdbdddbe37f7bfdfa8bb /arch/um | |
parent | 087fafd15204fb7a5df44b635ed3d3f4348f2d5e (diff) |
um: Serve io_remap_pfn_range()
At some places io_remap_pfn_range() is needed.
UML has to serve it like all other archs do.
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/include/asm/pgtable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/include/asm/pgtable.h b/arch/um/include/asm/pgtable.h index 41474fb5eee7..6a3f9845743e 100644 --- a/arch/um/include/asm/pgtable.h +++ b/arch/um/include/asm/pgtable.h @@ -69,6 +69,8 @@ extern unsigned long end_iomem; #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED) #define PAGE_KERNEL_EXEC __pgprot(__PAGE_KERNEL_EXEC) +#define io_remap_pfn_range remap_pfn_range + /* * The i386 can't do page protection for execute, and considers that the same * are read. |