diff --git a/[refs] b/[refs] index e0a16303442f..19ee6df4e1c5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a616058b7815aafb2163fc795e02a055b0dbc5e2 +refs/heads/master: 74732646431a1bb7e23e6b564127a8881cfef900 diff --git a/trunk/kernel/sched.c b/trunk/kernel/sched.c index 6b956bd9b49a..6d7bf55ec33d 100644 --- a/trunk/kernel/sched.c +++ b/trunk/kernel/sched.c @@ -5977,13 +5977,15 @@ static void calibrate_migration_costs(const cpumask_t *cpu_map) #endif ); if (system_state == SYSTEM_BOOTING) { - printk("migration_cost="); - for (distance = 0; distance <= max_distance; distance++) { - if (distance) - printk(","); - printk("%ld", (long)migration_cost[distance] / 1000); + if (num_online_cpus() > 1) { + printk("migration_cost="); + for (distance = 0; distance <= max_distance; distance++) { + if (distance) + printk(","); + printk("%ld", (long)migration_cost[distance] / 1000); + } + printk("\n"); } - printk("\n"); } j1 = jiffies; if (migration_debug)