Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287197
b: refs/heads/master
c: 6d3ec1a
h: refs/heads/master
i:
  287195: b4b441a
v: v3
  • Loading branch information
Catalin Marinas authored and Russell King committed Feb 2, 2012
1 parent d282c90 commit 3f91647
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 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: 91756acb58b17aee68d055fc15b1e2550ff00801
refs/heads/master: 6d3ec1ae6cdcda185bd9452b2daed5145e2493a5
10 changes: 9 additions & 1 deletion trunk/arch/arm/include/asm/tlb.h
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,15 @@ static inline void __pte_free_tlb(struct mmu_gather *tlb, pgtable_t pte,
unsigned long addr)
{
pgtable_page_dtor(pte);
tlb_add_flush(tlb, addr);

/*
* With the classic ARM MMU, a pte page has two corresponding pmd
* entries, each covering 1MB.
*/
addr &= PMD_MASK;
tlb_add_flush(tlb, addr + SZ_1M - PAGE_SIZE);
tlb_add_flush(tlb, addr + SZ_1M);

tlb_remove_page(tlb, pte);
}

Expand Down

0 comments on commit 3f91647

Please sign in to comment.