]> git.baikalelectronics.ru Git - kernel.git/commit
sh: Populate initial secondary CPU info from boot_cpu_data.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 14 Oct 2009 05:14:30 +0000 (14:14 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 14 Oct 2009 06:44:12 +0000 (15:44 +0900)
commit6cf42a9df603ca809c0f7b0fe386a0527509cec4
tree8019cfb6ebcfbc676a6c08fba83a460f63edea61
parent1c0eebcff50cba8cbcb67dc2a46b7cb7f10e81a6
sh: Populate initial secondary CPU info from boot_cpu_data.

The secondary CPU info was seeing corrupted results due to not entering
all of the setup paths taken by the boot CPU. So we just memcpy() the
boot cpu data over directly, and then fix up the per-CPU bits.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/smp.c