From: Dave A. <ai...@us...> - 2002-04-13 16:09:22
|
Update of /cvsroot/linux-vax/kernel-2.4/arch/ppc/mm In directory usw-pr-cvs1:/tmp/cvs-serv30376/arch/ppc/mm Modified Files: ppc_mmu.c Log Message: DA: 2.4.16 PPC changes no affect on VAX port Index: ppc_mmu.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/arch/ppc/mm/ppc_mmu.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- ppc_mmu.c 10 Apr 2002 15:04:12 -0000 1.1 +++ ppc_mmu.c 13 Apr 2002 16:09:15 -0000 1.2 @@ -304,6 +304,9 @@ if (Hash == 0 || nopreload) return; + /* We only want HPTEs for linux PTEs that have _PAGE_ACCESSED set */ + if (!pte_young(pte)) + return; mm = (address < TASK_SIZE)? vma->vm_mm: &init_mm; pmd = pmd_offset(pgd_offset(mm, address), address); if (!pmd_none(*pmd)) { |