diff options
Diffstat (limited to 'arch/sparc64/mm/init.c')
-rw-r--r-- | arch/sparc64/mm/init.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c index 4893f3e2c336..1af63307b24f 100644 --- a/arch/sparc64/mm/init.c +++ b/arch/sparc64/mm/init.c | |||
@@ -261,7 +261,6 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long address, pte_t p | |||
261 | struct page *page; | 261 | struct page *page; |
262 | unsigned long pfn; | 262 | unsigned long pfn; |
263 | unsigned long pg_flags; | 263 | unsigned long pg_flags; |
264 | unsigned long mm_rss; | ||
265 | 264 | ||
266 | pfn = pte_pfn(pte); | 265 | pfn = pte_pfn(pte); |
267 | if (pfn_valid(pfn) && | 266 | if (pfn_valid(pfn) && |
@@ -285,10 +284,6 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long address, pte_t p | |||
285 | } | 284 | } |
286 | 285 | ||
287 | mm = vma->vm_mm; | 286 | mm = vma->vm_mm; |
288 | mm_rss = get_mm_rss(mm); | ||
289 | if (mm_rss >= mm->context.tsb_rss_limit) | ||
290 | tsb_grow(mm, mm_rss, GFP_ATOMIC); | ||
291 | |||
292 | if ((pte_val(pte) & _PAGE_ALL_SZ_BITS) == _PAGE_SZBITS) { | 287 | if ((pte_val(pte) & _PAGE_ALL_SZ_BITS) == _PAGE_SZBITS) { |
293 | struct tsb *tsb; | 288 | struct tsb *tsb; |
294 | unsigned long tag; | 289 | unsigned long tag; |