[parisc-linux-cvs] linux-2.5 rhirst

Richard Hirst parisc-linux@lists.parisc-linux.org
Fri, 26 Jul 2002 18:08:10 -0600 (MDT)


CVSROOT:	/var/cvs
Module name:	linux-2.5
Changes by:	rhirst	02/07/26 18:08:10

Modified files:
	include/asm-parisc: pgtable.h 

Log message:
static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot)
{
pte_t pte;
-       pte_val(pte) = pfn | pgprot_val(pgprot);
+       pte_val(pte) = (pfn << PAGE_SHIFT) | pgprot_val(pgprot);
return pte;
}