diff options
author | Paul Burton <paul.burton@imgtec.com> | 2016-02-03 06:15:30 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-05-13 15:01:49 +0300 |
commit | 3dbc9971618ba0e88f25f2168aa5731b53af6f0b (patch) | |
tree | 26b2309901445e88e136283194282a6320d3fc17 /arch/mips/include/asm/smp-cps.h | |
parent | ba1c0a490a1fa61971b1cf9dd89acc7b4424e798 (diff) | |
download | linux-3dbc9971618ba0e88f25f2168aa5731b53af6f0b.tar.xz |
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>
Diffstat (limited to 'arch/mips/include/asm/smp-cps.h')
0 files changed, 0 insertions, 0 deletions