]> git.baikalelectronics.ru Git - kernel.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)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 24 Aug 2016 17:17:27 +0000 (18:17 +0100)
commit1f3a678d84e4cccf306f72818a65f6c86537cb93
tree0747b575c667aecfc3baf90d91764d659bc4565b
parentc70d21a4bed2ce3832b4814f5b148acf05e8f52f
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