static inline pte_t *hugepte_offset(pgd_t *dir, unsigned long addr)
static inline pte_t *hugepte_offset(pud_t *dir, unsigned long addr)
static inline pte_t *hugepte_offset(pgd_t *dir, unsigned long addr){	int index;	if (pgd_none(*dir))		return NULL;	index = (addr >> HPAGE_SHIFT) % PTRS_PER_HUGEPTE;	return (pte_t *)pgd_page(*dir) + index;}