RISC-V: Fix sys_riscv_flush_icache
authorPalmer Dabbelt <palmer@sifive.com>
Mon, 20 Aug 2018 18:32:10 +0000 (11:32 -0700)
committerPalmer Dabbelt <palmer@sifive.com>
Mon, 20 Aug 2018 18:32:10 +0000 (11:32 -0700)
commit7a3b1bf70b37b3797c8570b82a473fd5749fab8d
tree2807965222f04149b60332bece178ad99b9c06e8
parent66eb957df4c7f60afb2bf19873f12214a2b3b62b
parente45c7aca4914efc8bcdd8fc231efadcdc87ae2e5
RISC-V: Fix sys_riscv_flush_icache

This contains a pair of patches that together fix sys_riscv_flush_icache
on all systems:

* The first enables sys_riscv_flush_icache() for non-SMP systems.
* The second fixes a bug in our syscall header that caused
  sys_riscv_flush_icache to never get generated.