git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sh: Populate initial secondary CPU info from boot_cpu_data.
[pandora-kernel.git]
/
arch
/
sh
/
kernel
/
smp.c
diff --git
a/arch/sh/kernel/smp.c
b/arch/sh/kernel/smp.c
index
442d8d4
..
160db10
100644
(file)
--- 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;
}