]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit879457e799aa5f00f657adfebfd4465e73f940a4
tree26b2309901445e88e136283194282a6320d3fc17
parent9f4b3bf0d96b2f41350c944a2d0a1c0b2a69a3d8
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