]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] 6: 2.5.29-memory
authorRussell King <rmk@arm.linux.org.uk>
Sat, 3 Aug 2002 11:27:51 +0000 (04:27 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sat, 3 Aug 2002 11:27:51 +0000 (04:27 -0700)
Trivial patch; removes cruft that got left over from the TLB shootdown
changes.  "dir" is never used in zap_page_range

mm/memory.c

index 33103f5bad1e043950f7cef0c6e8d9e82ce3663f..83b3a9915689b3f7cd2b1e198ac6cfb19c2c1c1b 100644 (file)
@@ -408,11 +408,8 @@ void zap_page_range(struct vm_area_struct *vma, unsigned long address, unsigned
 {
        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.
         * There's no contention, because the page table