diff options
| author | Steve French <sfrench@us.ibm.com> | 2006-03-20 11:58:09 -0500 |
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2006-03-20 11:58:09 -0500 |
| commit | fd4a0b92db6a57cba8d03efbe1cebf91f9124ce0 (patch) | |
| tree | 5886a08bfa1132058b06074f4666a36dc5ddd2a1 /mm/memory.c | |
| parent | 88274815f7477dc7550439413ab87c5ce4c5a623 (diff) | |
| parent | 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 (diff) | |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'mm/memory.c')
| -rw-r--r-- | mm/memory.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mm/memory.c b/mm/memory.c index 9abc6008544b..85e80a57db29 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
| @@ -623,11 +623,12 @@ static unsigned long zap_pte_range(struct mmu_gather *tlb, | |||
| 623 | (*zap_work)--; | 623 | (*zap_work)--; |
| 624 | continue; | 624 | continue; |
| 625 | } | 625 | } |
| 626 | |||
| 627 | (*zap_work) -= PAGE_SIZE; | ||
| 628 | |||
| 626 | if (pte_present(ptent)) { | 629 | if (pte_present(ptent)) { |
| 627 | struct page *page; | 630 | struct page *page; |
| 628 | 631 | ||
| 629 | (*zap_work) -= PAGE_SIZE; | ||
| 630 | |||
| 631 | page = vm_normal_page(vma, addr, ptent); | 632 | page = vm_normal_page(vma, addr, ptent); |
| 632 | if (unlikely(details) && page) { | 633 | if (unlikely(details) && page) { |
| 633 | /* | 634 | /* |
