x86/shadow: Switch to using bool
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 23 Jun 2017 11:26:31 +0000 (11:26 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 30 Jun 2017 15:44:48 +0000 (16:44 +0100)
commitc2ce38d3adda75215d53cb930ac23abaa668f4fe
tree050ae9e23217d6f498e27591a69d222aa7011db7
parent143e0c2c2d64e64fce2e1302ffda1cacf0727c8c
x86/shadow: Switch to using bool

 * sh_pin() has boolean properties, so switch its return type.
 * sh_remove_shadows() uses ints everywhere other than its stub.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/mm/shadow/multi.c
xen/arch/x86/mm/shadow/none.c
xen/arch/x86/mm/shadow/private.h
xen/include/asm-x86/paging.h
xen/include/asm-x86/shadow.h