Commit a90c5ce0 authored by David S. Miller's avatar David S. Miller

[SPARC64]: We really do need to mask the start/end args to flush_tlb_pgtables().

The callers used to do it, but with the 4-level page
table code this is no longer the case.  Noticed by
Nick Piggin and Andrew Morton.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 72e57cd5
......@@ -118,11 +118,9 @@ void flush_tlb_pgtables(struct mm_struct *mm, unsigned long start, unsigned long
*/
BUG_ON(s > e);
#if 0
/* Currently free_pgtables guarantees this. */
s &= PMD_MASK;
e = (e + PMD_SIZE - 1) & PMD_MASK;
#endif
vpte_base = (tlb_type == spitfire ?
VPTE_BASE_SPITFIRE :
VPTE_BASE_CHEETAH);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment