summaryrefslogtreecommitdiffstats
path: root/arch/ppc/mm/init.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-06-13 05:43:00 +0200
committerPaul Mackerras <paulus@samba.org>2006-06-13 05:43:00 +0200
commit31925323b1b51bb65db729e029472a8b1f635b7d (patch)
treee902a594508124adc74d07018834f5dce49af052 /arch/ppc/mm/init.c
parentpowerpc: Remove unused paca->pgdir field (diff)
downloadlinux-31925323b1b51bb65db729e029472a8b1f635b7d.tar.xz
linux-31925323b1b51bb65db729e029472a8b1f635b7d.zip
powerpc: Fix some missed ppc32 mm->context.id conversions
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc/mm/init.c')
-rw-r--r--arch/ppc/mm/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/mm/init.c b/arch/ppc/mm/init.c
index 386e000bcb73..c9bd184a295a 100644
--- a/arch/ppc/mm/init.c
+++ b/arch/ppc/mm/init.c
@@ -583,7 +583,7 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long address,
mm = (address < TASK_SIZE)? vma->vm_mm: &init_mm;
pmd = pmd_offset(pgd_offset(mm, address), address);
if (!pmd_none(*pmd))
- add_hash_page(mm->context, address, pmd_val(*pmd));
+ add_hash_page(mm->context.id, address, pmd_val(*pmd));
}
#endif
}