From: Dave A. <ai...@us...> - 2001-06-10 21:46:05
|
Update of /cvsroot/linux-vax/kernel-2.4/include/asm-vax/mm In directory usw-pr-cvs1:/tmp/cvs-serv19288 Modified Files: pagelet_pte.h Log Message: DA: we need to and out below 40000000 in pte_offset... breaks fork otherwise Index: pagelet_pte.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/include/asm-vax/mm/pagelet_pte.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- pagelet_pte.h 2001/05/27 12:51:25 1.3 +++ pagelet_pte.h 2001/06/10 21:46:00 1.4 @@ -264,6 +264,6 @@ /* find an entry in a pagetable */ #define pte_offset(pmd, address) \ -((pte_t *) ( ((pgd_t *)(pmd))->br + (address >> PAGE_SHIFT)*BYTES_PER_PTE_T)) +((pte_t *) ( ((pgd_t *)(pmd))->br + ((address & 0x3fffffff)>> PAGE_SHIFT)*BYTES_PER_PTE_T)) #endif |