@@ -83,7 +83,7 @@ custom_param("dom0_max_vcpus", parse_dom0_max_vcpus);
static __initdata unsigned int dom0_nr_pxms;
static __initdata unsigned int dom0_pxms[MAX_NUMNODES] =
{ [0 ... MAX_NUMNODES - 1] = ~0 };
-static __initdata bool_t dom0_affinity_relaxed;
+static __initdata bool dom0_affinity_relaxed;
static void __init parse_dom0_nodes(const char *s)
{
@@ -92,12 +92,12 @@ static void __init parse_dom0_nodes(const char *s)
dom0_pxms[dom0_nr_pxms] = simple_strtoul(s, &s, 0);
else if ( !strncmp(s, "relaxed", 7) && (!s[7] || s[7] == ',') )
{
- dom0_affinity_relaxed = 1;
+ dom0_affinity_relaxed = true;
s += 7;
}
else if ( !strncmp(s, "strict", 6) && (!s[6] || s[6] == ',') )
{
- dom0_affinity_relaxed = 0;
+ dom0_affinity_relaxed = false;
s += 6;
}
else
@@ -208,7 +208,7 @@ custom_param("dom0", parse_dom0_param);
static char __initdata opt_dom0_ioports_disable[200] = "";
string_param("dom0_ioports_disable", opt_dom0_ioports_disable);
-static bool_t __initdata ro_hpet = 1;
+static bool __initdata ro_hpet = true;
boolean_param("ro-hpet", ro_hpet);
unsigned int __initdata dom0_memflags = MEMF_no_dma|MEMF_exact_node;
@@ -229,7 +229,7 @@ unsigned long __init dom0_compute_nr_pages(
{
nodeid_t node;
unsigned long avail = 0, nr_pages, min_pages, max_pages;
- bool_t need_paging;
+ bool need_paging;
for_each_node_mask ( node, dom0_nodes )
avail += avail_domheap_pages_region(node, 0, 0) +
@@ -253,7 +253,7 @@ unsigned long __init dom0_compute_nr_pages(
need_paging = is_hvm_domain(d) &&
(!iommu_hap_pt_share || !paging_mode_hap(d));
- for ( ; ; need_paging = 0 )
+ for ( ; ; need_paging = false )
{
nr_pages = dom0_nrpages;
min_pages = dom0_min_nrpages;
Signed-off-by: Wei Liu <wei.liu2@citrix.com> --- xen/arch/x86/dom0_build.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)