summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2012-02-07 01:22:47 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-07 12:46:39 -0700
commit9392bf7c8a7fd63c1ff1dbba237d67b95dae5cf9 (patch)
treeb5699745098b8d3a8fc2622e02b4126505b9bbe3 /arch
parent2f28357cd8f0be2c507d3a7d6f79c0cca0d7f9ce (diff)
downloadlinux-stable-9392bf7c8a7fd63c1ff1dbba237d67b95dae5cf9.tar.gz
linux-stable-9392bf7c8a7fd63c1ff1dbba237d67b95dae5cf9.tar.bz2
linux-stable-9392bf7c8a7fd63c1ff1dbba237d67b95dae5cf9.zip
um: Serve io_remap_pfn_range()
commit 4d94d6d030adfdea4837694d293ec6918d133ab2 upstream. 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> Tested-by: Antoine Martin <antoine@nagafix.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/um/include/asm/pgtable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/include/asm/pgtable.h b/arch/um/include/asm/pgtable.h
index aa365c55ecf9..5888f1b83477 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.