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)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 24 Aug 2016 17:17:27 +0000 (18:17 +0100)
commit55467dea2967259f21f4f854fc99d39cc5fea60e
tree0747b575c667aecfc3baf90d91764d659bc4565b
parent9a035a40f7f3f6708b79224b86c5777a3334f7ea
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>
arch/arm/xen/enlighten.c
arch/x86/xen/enlighten.c
include/xen/xen-ops.h