]> git.baikalelectronics.ru Git - kernel.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)
commit8324c0d4495b7bf341f8aec7458575094ee68695
tree80dd9484b2e48dd4223a41742de1ad174f88ab54
parentb5ef3b41077bceff7afd930cf89d783361764693
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