View Single Post
Old 01-24-03, 06:54 PM   #3
lordpil
Registered User
 
Join Date: Jan 2003
Posts: 3
Default

thank you, i was just comparing the files...

This is from the vanilla kernel:

/* Find an entry in the third-level page table.. */
#define __pte_offset(address) \
((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
#define pte_offset(dir, address) ((pte_t *) pmd_page(*(dir)) + \
__pte_offset(address))


This is from the redhat kernel:
/* Find an entry in the third-level page table.. */
#define __pte_offset(address) \
((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
#define pte_offset_kernel(dir, address) \
((pte_t *) pmd_page_kernel(*(dir)) + __pte_offset(address))

it has adifferent name... well i am going to try something now, i'll let you know how it works out
lordpil is offline   Reply With Quote