diff options
author | Denis V. Lunev <den@openvz.org> | 2015-04-07 16:53:52 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-04-30 16:55:16 +0200 |
commit | 813297541196698f60525d611dd09007fa60b45b (patch) | |
tree | ed9272a8cff7fc628721c351e77e605613e518f1 /target-cris/machine.c | |
parent | 03a96b83b539498510e22aab585e41015ba18247 (diff) |
apic_common: improve readability of apic_reset_common
Replace call of cpu_is_bsp(s->cpu) which really returns
!!(s->apicbase & MSR_IA32_APICBASE_BSP)
with directly collected value. Due to this the tracepoint
trace_cpu_get_apic_base((uint64_t)s->apicbase);
will not be hit anymore in apic_reset_common.
Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Andreas Färber <afaerber@suse.de>
CC: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1428414832-3104-1-git-send-email-den@openvz.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-cris/machine.c')
0 files changed, 0 insertions, 0 deletions