From: Nitin Gupta <nitin.m.gu...@oracle.com> Date: Tue, 13 Dec 2016 10:03:18 -0800
> +static unsigned int sun4u_huge_tte_to_shift(pte_t entry) > +{ > + unsigned long tte_szbits = pte_val(entry) & _PAGE_SZALL_4V; Actually this should be _PAGE_SZALL_4U.