git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
access_process_vm device memory infrastructure
[pandora-kernel.git]
/
arch
/
x86
/
mm
/
ioremap.c
diff --git
a/arch/x86/mm/ioremap.c
b/arch/x86/mm/ioremap.c
index
24c1d3c
..
016f335
100644
(file)
--- a/
arch/x86/mm/ioremap.c
+++ b/
arch/x86/mm/ioremap.c
@@
-330,6
+330,14
@@
static void __iomem *ioremap_default(resource_size_t phys_addr,
return (void __iomem *)ret;
}
return (void __iomem *)ret;
}
+void __iomem *ioremap_prot(resource_size_t phys_addr, unsigned long size,
+ unsigned long prot_val)
+{
+ return __ioremap_caller(phys_addr, size, (prot_val & _PAGE_CACHE_MASK),
+ __builtin_return_address(0));
+}
+EXPORT_SYMBOL(ioremap_prot);
+
/**
* iounmap - Free a IO remapping
* @addr: virtual address from ioremap_*
/**
* iounmap - Free a IO remapping
* @addr: virtual address from ioremap_*