diff options
| author | Gary Guo <[email protected]> | 2019-03-27 00:41:25 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2019-05-16 20:42:12 -0700 |
| commit | 58de77545e53b94cd6c816776197dade598632c5 (patch) | |
| tree | 2472a19173ceea0148de0e34c5de2fc2ecac6968 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | f91253a3d005796404ae0e578b3394459b5f9b71 (diff) | |
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 <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions