summaryrefslogtreecommitdiff
path: root/arch/riscv/cpu/qemu/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/cpu/qemu/cpu.c')
-rw-r--r--arch/riscv/cpu/qemu/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/cpu/qemu/cpu.c b/arch/riscv/cpu/qemu/cpu.c
index 6c7a32755a..25d97d0b41 100644
--- a/arch/riscv/cpu/qemu/cpu.c
+++ b/arch/riscv/cpu/qemu/cpu.c
@@ -15,7 +15,7 @@ int cleanup_before_linux(void)
{
disable_interrupts();
- /* turn off I/D-cache */
+ cache_flush();
return 0;
}