Skip to contentSkip to conversation

6: 2.5.29-memory

PATCH New Russell King 1 participant 1 message Aug 3, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 6: 2.5.29-memory

This patch has been verified to apply cleanly to 2.5.30

Trivial patch; removes cruft that got left over from the TLB shootdown changes. "dir" is never used in zap_page_range

 mm/memory.c |    3 ---
 1 files changed, 3 deletions
mm/memory.c +0 -3
diff -urN orig/mm/memory.c linux/mm/memory.c
@@ -408,10 +408,7 @@
 {
 	struct mm_struct *mm = vma->vm_mm;
 	mmu_gather_t *tlb;
-	pgd_t * dir;
 	unsigned long start = address, end = address + size;
-
-	dir = pgd_offset(mm, address);
 
 	/*
 	 * This is a long-lived spinlock. That's fine.