]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen: change the type of xen_vcpu_id to uint32_t
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 29 Jul 2016 09:06:48 +0000 (11:06 +0200)
committerBob Liu <bob.liu@oracle.com>
Thu, 20 Oct 2016 08:04:48 +0000 (04:04 -0400)
commit9a4353e6917cffce40c277395c6ccc00b5483fa2
tree0d1dd40907926d3b198bfe28357701e9c94eef08
parent13a935aa8d43b7cc25c95cda3a211d2b5e7545b1
xen: change the type of xen_vcpu_id to uint32_t

We pass xen_vcpu_id mapping information to hypercalls which require
uint32_t type so it would be cleaner to have it as uint32_t. The
initializer to -1 can be dropped as we always do the mapping before using
it and we never check the 'not set' value anyway.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
(cherry picked from commit 55467dea2967259f21f4f854fc99d39cc5fea60e)
Signed-off-by: Bob Liu <bob.liu@oracle.com>
Orabug: 24820937
arch/arm/xen/enlighten.c
arch/x86/xen/enlighten.c
include/xen/xen-ops.h