s390/mm: Fix cmma unused transfer from pgste into pte
authorChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 23 Jan 2017 21:59:44 +0000 (22:59 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 24 Jan 2017 15:03:42 +0000 (16:03 +0100)
commit0d6da872d3e4a60f43c295386d7ff9a4cdcd57e9
tree671f1c745caebdc216013268da1ddd1690f3f984
parent9dce990d2cf57b5ed4e71a9cdbd7eae4335111ff
s390/mm: Fix cmma unused transfer from pgste into pte

The last pgtable rework silently disabled the CMMA unused state by
setting a local pte variable (a parameter) instead of propagating it
back into the caller. Fix it.

Fixes: ebde765c0e85 ("s390/mm: uninline ptep_xxx functions from pgtable.h")
Cc: stable@vger.kernel.org # v4.6+
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/pgtable.c