]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: smp-cps: duplicate core0 CCA on secondary cores
authorPaul Burton <paul.burton@imgtec.com>
Wed, 16 Apr 2014 10:10:57 +0000 (11:10 +0100)
committerPaul Burton <paul.burton@imgtec.com>
Wed, 28 May 2014 15:20:33 +0000 (16:20 +0100)
commit8cb23d7e2170649291a8971a8054cc1928eefc6a
tree6fdb76eedde5ee9b4d4cd21a86bc6a0d7b7e298d
parent5aedbbdbd4b017e1c3f850bd691ef94f6ff3ba47
MIPS: smp-cps: duplicate core0 CCA on secondary cores

Rather than hardcoding CCA=0x5 for secondary cores, re-use the CCA from
the boot CPU. This allows overrides of the CCA using the cca= kernel
parameter to take effect on all CPUs for consistency.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
arch/mips/kernel/cps-vec.S
arch/mips/kernel/smp-cps.c