]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
s390/mm: use shared variables for sysctl range check
authorVasily Gorbik <gor@linux.ibm.com>
Tue, 25 Jun 2019 22:00:42 +0000 (00:00 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 26 Jul 2019 11:36:22 +0000 (13:36 +0200)
commitac7a0fcea39d29125b83b73583463e5ab70fdb37
tree4529880a03394781edaf2d2ac8862984d4c64d35
parent4f419eb14272e0698e8c55bb5f3f266cc2a21c81
s390/mm: use shared variables for sysctl range check

Since commit eec4844fae7c ("proc/sysctl: add shared variables for range
check") special shared variables are available for sysctl range check.
Reuse them for /proc/sys/vm/allocate_pgste proc handler.

Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/mm/pgalloc.c