alistair23-linux/arch/riscv/mm
Olof Johansson ef75fc2e63 riscv: export flush_icache_all to modules
[ Upstream commit 1833e327a5 ]

This is needed by LKDTM (crash dump test module), it calls
flush_icache_range(), which on RISC-V turns into flush_icache_all(). On
other architectures, the actual implementation is exported, so follow
that precedence and export it here too.

Fixes build of CONFIG_LKDTM that fails with:
ERROR: "flush_icache_all" [drivers/misc/lkdtm/lkdtm.ko] undefined!

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-17 19:49:04 +01:00
..
cacheflush.c riscv: export flush_icache_all to modules 2020-01-17 19:49:04 +01:00
context.c riscv: add missing header file includes 2019-10-28 00:46:01 -07:00
extable.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 120 2019-05-24 17:39:02 +02:00
fault.c riscv: add prototypes for assembly language functions from head.S 2019-10-28 00:46:00 -07:00
hugetlbpage.c riscv: Introduce huge page support for 32/64bit kernel 2019-07-03 15:23:38 -07:00
init.c riscv: init: merge split string literals in preprocessor directive 2019-10-28 00:46:01 -07:00
ioremap.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 286 2019-06-05 17:36:37 +02:00
Makefile riscv: move the TLB flush logic out of line 2019-09-05 01:54:51 -07:00
sifive_l2_cache.c riscv: mark some code and data as file-static 2019-10-28 00:46:01 -07:00
tlbflush.c riscv: move the TLB flush logic out of line 2019-09-05 01:54:51 -07:00