]> git.karo-electronics.de Git - linux-beck.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Feb 2017 07:33:07 +0000 (08:33 +0100)
commit62d7f2123f19a7e81c53bcd08f2902cd54c52b64
tree24bfc91a0e4d967b7e9f66dc0b4fb877d15f2fed
parent97a2e39b7ab93008c8bc432675ee36ad3de3fce1
s390/mm: Fix cmma unused transfer from pgste into pte

commit 0d6da872d3e4a60f43c295386d7ff9a4cdcd57e9 upstream.

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: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/mm/pgtable.c