diff options
author | Alexander Yarygin <yarygin@linux.vnet.ibm.com> | 2014-07-03 17:59:51 +0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-07-07 16:55:24 -0300 |
commit | 65c647a65c155e69bd5765d5e454982566ac1c62 (patch) | |
tree | 0d4a0ca79c4c0965e10e767cbc01f7e9f0a0736e /ipc | |
parent | df74c13b6c53c97576652f7b2840764ad7d5f949 (diff) | |
download | op-kernel-dev-65c647a65c155e69bd5765d5e454982566ac1c62.zip op-kernel-dev-65c647a65c155e69bd5765d5e454982566ac1c62.tar.gz |
perf kvm: Refactoring of cpu_isa_config()
cpu_isa_config() does two different things: searching for cpuid and
initializing perf_kvm_stat struct with proper parameters.
Let's move initialization to a separate function cpu_isa_init(), which
is used to initialize all possible ISAs and can be used to init
arch-depended things.
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1404395992-17095-4-git-send-email-yarygin@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions