aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2017-04-07 10:50:20 +0200
committerRadim Krčmář <[email protected]>2017-04-12 20:17:13 +0200
commit8bf463f3ba0eefd2c808fc22c005fc95f1ad48fe (patch)
tree8d10704c14e4940f2f51e9dc40050e40174a912f /tools/perf/util/scripting-engines/trace-event-perl.c
parent637e3f86faf97a930f1ac4c3f79fd667addae9e8 (diff)
KVM: x86: check against irqchip_mode in kvm_set_routing_entry()
Let's replace the checks for pic_in_kernel() and ioapic_in_kernel() by checks against irqchip_mode. Also make sure that creation of any route is only possible if we have an lapic in kernel (irqchip_in_kernel()) or if we are currently inititalizing the irqchip. This is necessary to switch pic_in_kernel() and ioapic_in_kernel() to irqchip_mode, too. Signed-off-by: David Hildenbrand <[email protected]> Signed-off-by: Radim Krčmář <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions