summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/prom_init.c
diff options
context:
space:
mode:
authorScott Wood2011-07-25 13:04:36 +0200
committerBenjamin Herrenschmidt2011-08-05 06:47:54 +0200
commit26ee97672eaee9725bd7d66c3964579c4af7037d (patch)
tree44bf32a68005bfc79758f654ded48e25b3e2144f /arch/powerpc/kernel/prom_init.c
parentpowerpc: mtspr/mtmsr should take an unsigned long (diff)
downloadkernel-qcow2-linux-26ee97672eaee9725bd7d66c3964579c4af7037d.tar.gz
kernel-qcow2-linux-26ee97672eaee9725bd7d66c3964579c4af7037d.tar.xz
kernel-qcow2-linux-26ee97672eaee9725bd7d66c3964579c4af7037d.zip
powerpc: Return the_cpu_ spec from identify_cpu
Commit af9eef3c7b1ed004c378c89b87642f4937337d50 caused cpu_setup to see the_cpu_spec, rather than the source struct. However, on 32-bit, the return value of identify_cpu was being used for feature fixups, and identify_cpu was returning the source struct. So if cpu_setup patches the feature bits, the update won't affect the fixups. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/prom_init.c')
0 files changed, 0 insertions, 0 deletions