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)
commit0155a06529d4c8425573596720829b6c578c05f2
tree6fdb76eedde5ee9b4d4cd21a86bc6a0d7b7e298d
parent33b6866568acce808361fcf25c107c2c94f8eadb
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