]> git.ipfire.org Git - thirdparty/linux.git/commit
s390/cpum_cf: add ctr_stcctm() function
authorHendrik Brueckner <brueckner@linux.ibm.com>
Fri, 26 Oct 2018 07:48:29 +0000 (09:48 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 22 Feb 2019 08:19:55 +0000 (09:19 +0100)
commit86c0b75715e711c035ae0ed9820ae95f14fe2c0d
tree80dd9484b2e48dd4223a41742de1ad174f88ab54
parent7f5ac1a02242b6d100b6f788dffa9e8681983ee1
s390/cpum_cf: add ctr_stcctm() function

Introduce the ctr_stcctm() function as wrapper function to extract counters
from a particular counter set.  Note that the counter set is part of the
stcctm instruction opcode, few indirections are necessary to specify the
counter set as variable.

Signed-off-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cpu_mcf.h