• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Support for CPU-MF instructions
4  *
5  * Copyright IBM Corp. 2019
6  * Author(s): Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
7  */
8 #ifndef _ASM_S390_CPU_MF_INSN_H
9 #define _ASM_S390_CPU_MF_INSN_H
10 
11 #ifdef __ASSEMBLY__
12 
13 /* Macro to generate the STCCTM instruction with a customized
14  * M3 field designating the counter set.
15  */
16 .macro	STCCTM	r1 m3 db2
17 	.insn	rsy,0xeb0000000017,\r1,\m3 & 0xf,\db2
18 .endm
19 
20 #endif /* __ASSEMBLY__ */
21 
22 #endif
23