Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112343
b: refs/heads/master
c: 40d192b
h: refs/heads/master
i:
  112341: 1faab1d
  112339: fd2260a
  112335: 05569e3
v: v3
  • Loading branch information
Russell King authored and Russell King committed Oct 1, 2008
1 parent e230d4f commit d4a05c2
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3f69c0c1af288d6b124d0a928a33b51061ebf850
refs/heads/master: 40d192b63d079db1f76cec9ae8ccbf461fda23e4
3 changes: 1 addition & 2 deletions trunk/arch/arm/mm/ioremap.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ static int remap_area_pte(pmd_t *pmd, unsigned long addr, unsigned long end,
if (!pte_none(*pte))
goto bad;

set_pte_ext(pte, pfn_pte(phys_addr >> PAGE_SHIFT, prot),
type->prot_pte_ext);
set_pte_ext(pte, pfn_pte(phys_addr >> PAGE_SHIFT, prot), 0);
phys_addr += PAGE_SIZE;
} while (pte++, addr += PAGE_SIZE, addr != end);
return 0;
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/mm/mm.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ static inline pmd_t *pmd_off_k(unsigned long virt)

struct mem_type {
unsigned int prot_pte;
unsigned int prot_pte_ext;
unsigned int prot_l1;
unsigned int prot_sect;
unsigned int domain;
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/arm/mm/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,7 @@ static void __init alloc_init_pte(pmd_t *pmd, unsigned long addr,

pte = pte_offset_kernel(pmd, addr);
do {
set_pte_ext(pte, pfn_pte(pfn, __pgprot(type->prot_pte)),
type->prot_pte_ext);
set_pte_ext(pte, pfn_pte(pfn, __pgprot(type->prot_pte)), 0);
pfn++;
} while (pte++, addr += PAGE_SIZE, addr != end);
}
Expand Down

0 comments on commit d4a05c2

Please sign in to comment.