]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf05a76043503dc1d73c99da9206d536c386323b1
tree9e3ab12a43d118b83f1a87ac68de591981d52161
parent674f88d5715f784815c96a2aa18b815e97182fa1
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