projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
087fafd
)
um: Serve io_remap_pfn_range()
author
Richard Weinberger
<richard@nod.at>
Tue, 7 Feb 2012 00:22:47 +0000
(
01:22
+0100)
committer
Richard Weinberger
<richard@nod.at>
Sat, 24 Mar 2012 23:29:56 +0000
(
00:29
+0100)
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>
arch/um/include/asm/pgtable.h
patch
|
blob
|
history
diff --git
a/arch/um/include/asm/pgtable.h
b/arch/um/include/asm/pgtable.h
index
41474fb
..
6a3f984
100644
(file)
--- 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.