aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/smp.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-10-14 15:53:08 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-10-14 15:53:08 +0900
commitb195e46677bed5f044bc2eede65fd41c886ef5b2 (patch)
tree38c04c153d05171919bc95deb82ceb1e6b9bcd77 /arch/sh/kernel/smp.c
parentsh: Only invalidate the I-cache range for secondary CPUs stack_start. (diff)
parentsh: Fix a TRACE_IRQS_OFF typo. (diff)
downloadlinux-dev-b195e46677bed5f044bc2eede65fd41c886ef5b2.tar.xz
linux-dev-b195e46677bed5f044bc2eede65fd41c886ef5b2.zip
Merge branch 'sh/stable-updates'
Diffstat (limited to 'arch/sh/kernel/smp.c')
-rw-r--r--arch/sh/kernel/smp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c
index 6a27c657648d..983e0792d5f3 100644
--- a/arch/sh/kernel/smp.c
+++ b/arch/sh/kernel/smp.c
@@ -35,6 +35,8 @@ static inline void __init smp_store_cpu_info(unsigned int cpu)
{
struct sh_cpuinfo *c = cpu_data + cpu;
+ memcpy(c, &boot_cpu_data, sizeof(struct sh_cpuinfo));
+
c->loops_per_jiffy = loops_per_jiffy;
}