Skip to content

Commit

Permalink
um: Serve io_remap_pfn_range()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Weinberger committed Mar 24, 2012
1 parent 087fafd commit 4d94d6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/um/include/asm/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4d94d6d

Please sign in to comment.