flush instruction cache at context switch time if necessary

Change-Id: Ic09415ea772a9de6dca43a98168a8346ca86d3e7
This commit is contained in:
Balazs Gerofi
2019-08-04 23:31:47 +00:00
committed by Masamichi Takagi
parent f0bc1a6b07
commit 2dd8687974
7 changed files with 32 additions and 0 deletions

View File

@ -1772,4 +1772,9 @@ int smp_call_func(cpu_set_t *__cpu_set, smp_func_t __func, void *__arg)
return -1;
}
void arch_flush_icache_all(void)
{
asm("ic ialluis");
dsb(ish);
}
/*** end of file ***/