]> 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)
commita1ebfbe052838f0692193066a5a982c2301c01c1
tree6fdb76eedde5ee9b4d4cd21a86bc6a0d7b7e298d
parent4dc811e2c59e980fad37d97a476c069f9961af29
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