diff options
author | Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | 2017-05-31 16:22:19 +0300 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-11-16 17:06:10 +0300 |
commit | 9232c3c741200167e44ae9d0e434092657ab4534 (patch) | |
tree | b7086cbdf10d3a1af0e3918f09140963f11bf102 /arch/s390/include/uapi/asm | |
parent | 3d43b981eb841a9493717e6d509f59553dbe8c7a (diff) | |
download | linux-9232c3c741200167e44ae9d0e434092657ab4534.tar.xz |
s390/cpum_sf: do not register PMU if no sampling mode is authorized
Previously, the cpum_sf PMU was registered even if there is no
sampling mode authorized. Add a check and register cpum_sf only
at least one sampling mode is authorized.
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/uapi/asm')
0 files changed, 0 insertions, 0 deletions