On 12/27/2016 09:34 AM, David Miller wrote:
> From: Nitin Gupta
> 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;
>> +unsigned int shift;
>> +
>> +switch (tte_s
From: Nitin Gupta
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.
From: Nitin Gupta
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;
> + unsigned int shift;
> +
> + switch (tte_szbits) {
> + case _PAGE_SZ256MB_4U:
> +
3 matches
Mail list logo