]> xenbits.xensource.com Git - xen.git/commitdiff
x86/e820.c: use plan bool
authorWei Liu <wei.liu2@citrix.com>
Fri, 30 Jun 2017 16:03:34 +0000 (17:03 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 4 Jul 2017 13:54:42 +0000 (14:54 +0100)
Note that e820_mtrr_clip remains s8 although the command line
parameter is bool, because it is a tristate variable.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/e820.c

index bc1544a5141e5bdbda8443aff27bcbcd40f74053..7c572bade251cabab2a4d7ba7fca7b075acf0add 100644 (file)
@@ -29,7 +29,7 @@ static s8 __initdata e820_mtrr_clip = -1;
 boolean_param("e820-mtrr-clip", e820_mtrr_clip);
 
 /* opt_e820_verbose: Be verbose about clipping, the original e820, &c */
-static bool_t __initdata e820_verbose;
+static bool __initdata e820_verbose;
 boolean_param("e820-verbose", e820_verbose);
 
 struct e820map e820;