mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
ARM: uniphier: drop v7_invalidate_l1 call at secondary entry
This is unnecessary since commit 02b4e2756e
("ARM: v7 setup
function should invalidate L1 cache").
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
parent
b78bda5fd8
commit
fb3c442676
@ -60,12 +60,6 @@ err:
|
||||
sbcm_regmap = NULL;
|
||||
}
|
||||
|
||||
static void __naked uniphier_secondary_startup(void)
|
||||
{
|
||||
asm("bl v7_invalidate_l1\n"
|
||||
"b secondary_startup\n");
|
||||
};
|
||||
|
||||
static int uniphier_boot_secondary(unsigned int cpu,
|
||||
struct task_struct *idle)
|
||||
{
|
||||
@ -75,7 +69,7 @@ static int uniphier_boot_secondary(unsigned int cpu,
|
||||
return -ENODEV;
|
||||
|
||||
ret = regmap_write(sbcm_regmap, 0x1208,
|
||||
virt_to_phys(uniphier_secondary_startup));
|
||||
virt_to_phys(secondary_startup));
|
||||
if (!ret)
|
||||
asm("sev"); /* wake up secondary CPU */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user