aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/ioremap.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mm/ioremap.c')
-rw-r--r--arch/arm/mm/ioremap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mm/ioremap.c b/arch/arm/mm/ioremap.c
index 465440592791..a43d2800a9cd 100644
--- a/arch/arm/mm/ioremap.c
+++ b/arch/arm/mm/ioremap.c
@@ -40,7 +40,7 @@
40 40
41static inline void 41static inline void
42remap_area_pte(pte_t * pte, unsigned long address, unsigned long size, 42remap_area_pte(pte_t * pte, unsigned long address, unsigned long size,
43 unsigned long phys_addr, pgprot_t pgprot) 43 unsigned long phys_addr, pgprot_t prot)
44{ 44{
45 unsigned long end; 45 unsigned long end;
46 46
@@ -53,7 +53,7 @@ remap_area_pte(pte_t * pte, unsigned long address, unsigned long size,
53 if (!pte_none(*pte)) 53 if (!pte_none(*pte))
54 goto bad; 54 goto bad;
55 55
56 set_pte(pte, pfn_pte(phys_addr >> PAGE_SHIFT, pgprot)); 56 set_pte_ext(pte, pfn_pte(phys_addr >> PAGE_SHIFT, prot), 0);
57 address += PAGE_SIZE; 57 address += PAGE_SIZE;
58 phys_addr += PAGE_SIZE; 58 phys_addr += PAGE_SIZE;
59 pte++; 59 pte++;