x86/mtrr: convert use_intel_if u32 to bool
authorDoug Goldstein <cardoe@cardoe.com>
Thu, 19 Jan 2017 09:36:14 +0000 (10:36 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 19 Jan 2017 09:36:14 +0000 (10:36 +0100)
commit850fd17ed2902ec92df4480fae2bb5c28569ba9e
treee1b5b2271d91438d918307cd40729b5d70446b6a
parenta80f58f2e4217ed2f73a5d674b864771f79e17ff
x86/mtrr: convert use_intel_if u32 to bool

This field is always only 1 currently but may allow 0 in the future so
convert it to a bool to provide proper range checking by the compiler.

Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/mtrr/generic.c
xen/arch/x86/cpu/mtrr/mtrr.h