MIPS: smp-cps: Pull cache init into a function
authorPaul Burton <paul.burton@imgtec.com>
Wed, 3 Feb 2016 03:15:30 +0000 (03:15 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:01:49 +0000 (14:01 +0200)
commit3dbc9971618ba0e88f25f2168aa5731b53af6f0b
tree26b2309901445e88e136283194282a6320d3fc17
parentba1c0a490a1fa61971b1cf9dd89acc7b4424e798
MIPS: smp-cps: Pull cache init into a function

In preparation for further modifications to mips_cps_core_entry, pull
the L1 cache initialisation out into a separate function. This both
makes the code in mips_cps_core_entry read more clearly, particularly
when modifying it, and shortens it which will become important as code
is added that needs to continue to fit within the reset vector.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12336/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/cps-vec.S