OSDN Git Service

s390/mm: correct return value of pmd_pfn
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 13 May 2015 12:33:22 +0000 (14:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Jun 2015 15:21:04 +0000 (08:21 -0700)
commit4c266d189f647773dc9cbc4d1d8ade5b5fda05be
tree9510a038e442f2deb2d00d53f0e5374f2d441ec5
parent9e1182c1cf53b0b56ce19e06f0171f607c58f2d3
s390/mm: correct return value of pmd_pfn

commit 7cded342c09f633666e71ee1ce048f218a9c5836 upstream.

Git commit 152125b7a882df36a55a8eadbea6d0edf1461ee7
"s390/mm: implement dirty bits for large segment table entries"
broke the pmd_pfn function, it changed the return value from
'unsigned long' to 'int'. This breaks all machine configurations
with memory above the 8TB line.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/include/asm/pgtable.h