]> git.baikalelectronics.ru Git - kernel.git/commit
x86/xen: use xen_vcpu_id mapping when pointing vcpu_info to shared_info
authorVitaly Kuznetsov <vkuznets@redhat.com>
Thu, 30 Jun 2016 15:56:39 +0000 (17:56 +0200)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 25 Jul 2016 12:33:40 +0000 (13:33 +0100)
commit24eb96f294db855dd1df442ddf041f1360fdf436
tree0a0e40f71d1f5154eec12a07a9979430aa5b5a71
parent45309853662b8c345d30ace3bf5dc5c0e3d598aa
x86/xen: use xen_vcpu_id mapping when pointing vcpu_info to shared_info

shared_info page has space for 32 vcpu info slots for first 32 vCPUs
but these are the first 32 vCPUs from Xen's perspective and we should
map them accordingly with the newly introduced xen_vcpu_id mapping.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/enlighten.c