Re: [PATCH] s390x: Implement swap PTE for kernel 3.12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message -----
> Hi Dave,
> 
> The following kernel git commit changes swap PTEs again
> for Linux 3.12:
> 
> commit e509861105a3c1425f3f929bd631f88340b499bf
> Author: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
> Date:   Tue Jul 23 20:57:57 2013 +0200
> 
>     s390/mm: cleanup page table definitions
> 
> So we have to do this also in crash.
> 
> Signed-off-by: Michael Holzheu <holzheu@xxxxxxxxxxxxxxxxxx>
> ---
>  s390x.c |    5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> --- a/s390x.c
> +++ b/s390x.c
> @@ -590,9 +590,12 @@ static int swap_entry(ulong entry)
>  	if (THIS_KERNEL_VERSION < LINUX(2,6,19)) {
>  		if ((entry & 0x601ULL) == 0x600ULL)
>  			return 1;
> -	} else {
> +	} if (THIS_KERNEL_VERSION < LINUX(3,12,0)) {
>  		if ((entry & 0x403ULL) == 0x403ULL)
>  			return 1;
> +	} else {
> +		if ((entry & 0x603ULL) == 0x402ULL)
> +			return 1;
>  	}
>  	return 0;
>  }
> 

Thanks Michael -- queued for crash-7.0.3.

Dave

 

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux