[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080715023430.2528.48009.stgit@blender.achiang>
Date: Mon, 14 Jul 2008 20:34:30 -0600
From: Alex Chiang <achiang@...com>
To: linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org
Cc: linux-acpi@...r.kernel.org, Alex Chiang <achiang@...com>,
Paul Mundt <lethal@...ux-sh.org>
Subject: [PATCH 09/14] [SH] Populate cpu_enabled_map
Populate the cpu_enabled_map correctly.
Note that this patch does not actually make any decisions based
on the contents of the map.
However, as the map is presented via sysfs in:
/sys/devices/system/cpu/
It should be populated correctly.
Signed-off-by: Alex Chiang <achiang@...com>
Cc: Paul Mundt <lethal@...ux-sh.org>
---
arch/sh/kernel/smp.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c
index 5d039d1..b91fdfa 100644
--- a/arch/sh/kernel/smp.c
+++ b/arch/sh/kernel/smp.c
@@ -60,6 +60,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
#ifndef CONFIG_HOTPLUG_CPU
cpu_present_map = cpu_possible_map;
+ cpu_enabled_map = cpu_possible_map;
#endif
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists