diff options
| author | Alexander Yarygin <[email protected]> | 2014-07-03 17:59:51 +0400 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-07-07 16:55:24 -0300 |
| commit | 65c647a65c155e69bd5765d5e454982566ac1c62 (patch) | |
| tree | 0d4a0ca79c4c0965e10e767cbc01f7e9f0a0736e /net/lapb/lapb_in.c | |
| parent | df74c13b6c53c97576652f7b2840764ad7d5f949 (diff) | |
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 <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: Alexander Yarygin <[email protected]>
Acked-by: Christian Borntraeger <[email protected]>
Cc: Christian Borntraeger <[email protected]>
Cc: Cornelia Huck <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions