Commit 52ca501b authored by Russell King's avatar Russell King Committed by Linus Torvalds

[PATCH] 6: 2.5.29-memory

Trivial patch; removes cruft that got left over from the TLB shootdown
changes.  "dir" is never used in zap_page_range
parent fdcf2df1
...@@ -408,11 +408,8 @@ void zap_page_range(struct vm_area_struct *vma, unsigned long address, unsigned ...@@ -408,11 +408,8 @@ void zap_page_range(struct vm_area_struct *vma, unsigned long address, unsigned
{ {
struct mm_struct *mm = vma->vm_mm; struct mm_struct *mm = vma->vm_mm;
mmu_gather_t *tlb; mmu_gather_t *tlb;
pgd_t * dir;
unsigned long start = address, end = address + size; unsigned long start = address, end = address + size;
dir = pgd_offset(mm, address);
/* /*
* This is a long-lived spinlock. That's fine. * This is a long-lived spinlock. That's fine.
* There's no contention, because the page table * There's no contention, because the page table
......
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