|
@@ -63,7 +63,7 @@ struct mask_info {
|
|
cpumask_t mask;
|
|
cpumask_t mask;
|
|
};
|
|
};
|
|
|
|
|
|
-static int topology_enabled;
|
|
|
|
|
|
+static int topology_enabled = 1;
|
|
static void topology_work_fn(struct work_struct *work);
|
|
static void topology_work_fn(struct work_struct *work);
|
|
static struct tl_info *tl_info;
|
|
static struct tl_info *tl_info;
|
|
static int machine_has_topology;
|
|
static int machine_has_topology;
|
|
@@ -311,9 +311,9 @@ static void set_topology_timer(void)
|
|
|
|
|
|
static int __init early_parse_topology(char *p)
|
|
static int __init early_parse_topology(char *p)
|
|
{
|
|
{
|
|
- if (strncmp(p, "on", 2))
|
|
|
|
|
|
+ if (strncmp(p, "off", 3))
|
|
return 0;
|
|
return 0;
|
|
- topology_enabled = 1;
|
|
|
|
|
|
+ topology_enabled = 0;
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
early_param("topology", early_parse_topology);
|
|
early_param("topology", early_parse_topology);
|