kernels/linux-2.4.0/include/asm-mips/pgtable.h
/* Find an entry in the third-level page table.. */
Find an entry in the third-level page table
Find an entry in the third - level page table
extern inline pte_t *pte_offset(pmd_t * dir, unsigned long address)
{
	return (pte_t *) (pmd_page(*dir)) +
	       ((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1));
}
extern inline pte_t * pte_offset ( pmd_t * dir , unsigned long address ) { return ( pte_t * ) ( pmd_page ( * dir ) ) + ( ( address >> PAGE_SHIFT ) & ( PTRS_PER_PTE - 1 ) ) ; }
Find an entry in the third-level page table..
Find an entry in the third - level page table ..