]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/events: use xen_vcpu_id mapping in events_base
authorVitaly Kuznetsov <vkuznets@redhat.com>
Thu, 30 Jun 2016 15:56:40 +0000 (17:56 +0200)
committerBob Liu <bob.liu@oracle.com>
Thu, 20 Oct 2016 08:02:49 +0000 (04:02 -0400)
commit9ca42023224e65529f9172c870a99641c70551d0
treec527f9a83715d7ab86bf3b266943bb9287e49265
parent77da1a442daff72988e20338bea029b66b25f163
xen/events: use xen_vcpu_id mapping in events_base

EVTCHNOP_bind_ipi and EVTCHNOP_bind_virq pass vCPU id as a parameter
and Xen's idea of vCPU id should be used. Use the newly introduced
xen_vcpu_id mapping to convert it from Linux's id.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
(cherry picked from commit 8058c0b897e7d1ba5c900cb17eb82aa0d88fca53)
Signed-off-by: Bob Liu <bob.liu@oracle.com>
Orabug: 24820937
drivers/xen/events/events_base.c