[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)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:34 +0000 (06:18 -0700)
commit7c1c4e541888947947bc46a18a9a5543a259ed62
treeb2484781dd89aea63fb0e66702f0ec1b9ad491c0
parent917b1f78a9871a1985004df09ed1eb2e0dc3bf4f
[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>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/m32r/kernel/setup.c
arch/m32r/kernel/smpboot.c
include/asm-m32r/smp.h