Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 023a407f authored by Jack Steiner's avatar Jack Steiner Committed by Tony Luck
Browse files

[IA64] Fix GRU compile error w/o CONFIG_HUGETLB_PAGE



Eliminate compile error when compiling without CONFIG_HUGETLB_PAGE.

Signed-off-by: default avatarJack Steiner <steiner@sgi.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 6afc9be1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -254,7 +254,11 @@ static int atomic_pte_lookup(struct vm_area_struct *vma, unsigned long vaddr,
		return 1;

	*paddr = pte_pfn(pte) << PAGE_SHIFT;
#ifdef CONFIG_HUGETLB_PAGE
	*pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT;
#else
	*pageshift = PAGE_SHIFT;
#endif
	return 0;

err: