summaryrefslogtreecommitdiff
path: root/arch/riscv/mm/Makefile
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2019-03-27 03:41:25 +0300
committerPalmer Dabbelt <palmer@sifive.com>2019-05-17 06:42:12 +0300
commit58de77545e53b94cd6c816776197dade598632c5 (patch)
tree2472a19173ceea0148de0e34c5de2fc2ecac6968 /arch/riscv/mm/Makefile
parentf91253a3d005796404ae0e578b3394459b5f9b71 (diff)
downloadlinux-58de77545e53b94cd6c816776197dade598632c5.tar.xz
riscv: move flush_icache_{all,mm} to cacheflush.c
Currently, flush_icache_all is macro-expanded into a SBI call, yet no asm/sbi.h is included in asm/cacheflush.h. This could be moved to mm/cacheflush.c instead (SBI call will dominate performance-wise and there is no worry to not have it inlined. Currently, flush_icache_mm stays in kernel/smp.c, which looks like a hack to prevent it from being compiled when CONFIG_SMP=n. It should also be in mm/cacheflush.c. Signed-off-by: Gary Guo <gary@garyguo.net> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'arch/riscv/mm/Makefile')
0 files changed, 0 insertions, 0 deletions