[PATCH] 6: 2.5.29-memory

Russell King (rmk@arm.linux.org.uk)
Sat, 03 Aug 2002 19:16:17 +0100


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

diff -urN orig/mm/memory.c linux/mm/memory.c
--- orig/mm/memory.c Thu Jul 25 20:13:56 2002
+++ linux/mm/memory.c Thu Jul 25 19:59:49 2002
@@ -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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/