allow only sizeof(bool) variables for boolean_param()
authorJuergen Gross <jgross@suse.com>
Thu, 5 Mar 2020 09:40:40 +0000 (10:40 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 5 Mar 2020 09:40:40 +0000 (10:40 +0100)
commite5f88ef94a6928883562f6b0f4a4271f398f9cbc
tree90e15505a09567e313cd2262309ef8aa7256dfec
parent0d99c909d7e1cbe69329a00f7772946f10a7865b
allow only sizeof(bool) variables for boolean_param()

Support of other variable sizes than that of normal bool ones for
boolean_param() don't make sense, so catch any other sized variables
at build time.

Fix the one parameter using a plain int instead of bool.

Signed-off-by: Juergen Gross <jgross@suse.com>
[add __read_mostly]
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/asid.c
xen/include/xen/param.h