s390/cmm: split and simplify cmm pages proc handler
authorVasily Gorbik <gor@linux.ibm.com>
Sun, 1 Jul 2018 13:56:28 +0000 (15:56 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 6 Jul 2018 06:48:07 +0000 (08:48 +0200)
commit71e33a1dd712dc6f68de733218d4506bea26bda6
tree9e3ab12a43d118b83f1a87ac68de591981d52161
parent196851bed5221a7670024e3ad39704c6d92b2014
s390/cmm: split and simplify cmm pages proc handler

Split cmm_pages_handler into cmm_pages_handler and
cmm_timed_pages_handler, each handling separate proc entry.  And reuse
proc_doulongvec_minmax to simplify proc handlers. Min/max values are
optional and are omitted here.

Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/cmm.c