diff options
author | Olof Johansson <olof@lixom.net> | 2019-12-16 20:07:04 -0800 |
---|---|---|
committer | Paul Walmsley <paul.walmsley@sifive.com> | 2019-12-27 21:51:01 -0800 |
commit | 1833e327a5ea1d1f356fbf6ded0760c9ff4b0594 (patch) | |
tree | 8cc538a2b4f7c6c978c10c47b3a501a368beb855 /lib/syscall.c | |
parent | 556f47ac6083d778843e89aa21b1242eee2693ed (diff) | |
download | linux-1833e327a5ea1d1f356fbf6ded0760c9ff4b0594.tar.bz2 |
riscv: export flush_icache_all to modules
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>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions