diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-10-14 08:53:08 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-10-14 08:53:08 +0200 |
commit | b195e46677bed5f044bc2eede65fd41c886ef5b2 (patch) | |
tree | 38c04c153d05171919bc95deb82ceb1e6b9bcd77 /arch/sh/kernel/smp.c | |
parent | sh: Only invalidate the I-cache range for secondary CPUs stack_start. (diff) | |
parent | sh: Fix a TRACE_IRQS_OFF typo. (diff) | |
download | linux-b195e46677bed5f044bc2eede65fd41c886ef5b2.tar.xz linux-b195e46677bed5f044bc2eede65fd41c886ef5b2.zip |
Merge branch 'sh/stable-updates'
Diffstat (limited to 'arch/sh/kernel/smp.c')
-rw-r--r-- | arch/sh/kernel/smp.c | 2 |
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; } |