Re: [PATCH] riscv: export flush_icache_all to modules
From: Paul Walmsley
Date: Sat Dec 28 2019 - 01:04:49 EST
On Mon, 16 Dec 2019, Olof Johansson wrote:
> 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@xxxxxxxxx>
Thanks Olof, queued for v5.5-rc.
- Paul