s390/cpum_cf: move array from header to C file
authorHeiko Carstens <hca@linux.ibm.com>
Thu, 2 Sep 2021 17:51:59 +0000 (19:51 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 7 Sep 2021 11:38:41 +0000 (13:38 +0200)
commit5dddfaac4c258f5eda7b3dba7f9d851262fcbbab
tree8cb0e4d09be03bcef6d3692c7517e795440236e2
parent2e8275285a60868231eaf63abd9552cc27e512a2
s390/cpum_cf: move array from header to C file

Move array from header to C file to avoid that it gets defined in
every C file where the header is included:

In file included from arch/s390/kernel/perf_cpum_cf_common.c:19:
./arch/s390/include/asm/cpu_mcf.h:27:18: warning: ‘cpumf_ctr_ctl’ defined but not used [-Wunused-const-variable=]
   27 | static const u64 cpumf_ctr_ctl[CPUMF_CTR_SET_MAX] = {
      |                  ^~~~~~~~~~~~~

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/cpu_mcf.h
arch/s390/kernel/perf_cpum_cf.c