[PATCH] m32r: Fix cpu_possible_map and cpu_present_map initialization for SMP kernel
authorHirokazu Takata <takata@linux-m32r.org>
Tue, 11 Apr 2006 05:53:18 +0000 (22:53 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 17 Apr 2006 20:16:05 +0000 (13:16 -0700)
commit3a62231e38fe628ec2540fb22276ea1c3af5ddd8
treeb6ba878da971c8c5423b342960b5d6e63825eb4e
parent1fbbed27cf11386f621b00a033fe557266753c54
[PATCH] m32r: Fix cpu_possible_map and cpu_present_map initialization for SMP kernel

This patch fixes a boot problem of the m32r SMP kernel 2.6.16-rc1-mm3 or
later.

In this patch, cpu_possible_map is statically initialized, and cpu_present_map
is also copied from cpu_possible_map in smp_prepare_cpus(), because the m32r
architecture has not supported CPU hotplug yet.

Signed-off-by: Hayato Fujiwara <fujiwara.hayato@renesas.com>
Signed-off-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/m32r/kernel/setup.c
arch/m32r/kernel/smpboot.c
include/asm-m32r/smp.h