提交 3083ca23 编写于 作者: C Chen Gang 提交者: Mark Salter

c6x: platforms: cache: Export symbol L1P_cache_block_invalidate and L1D_cache_block_writeback

They are needed by other modules, the related error with allmodconfig:

    MODPOST 3327 modules
  ERROR: "L1P_cache_block_invalidate" [drivers/misc/lkdtm.ko] undefined!
  ERROR: "L1D_cache_block_writeback" [drivers/misc/lkdtm.ko] undefined!
Signed-off-by: NChen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: NMark Salter <msalter@redhat.com>
上级 2135115c
...@@ -350,6 +350,7 @@ void L1P_cache_block_invalidate(unsigned int start, unsigned int end) ...@@ -350,6 +350,7 @@ void L1P_cache_block_invalidate(unsigned int start, unsigned int end)
(unsigned int *) end, (unsigned int *) end,
IMCR_L1PIBAR, IMCR_L1PIWC); IMCR_L1PIBAR, IMCR_L1PIWC);
} }
EXPORT_SYMBOL(L1P_cache_block_invalidate);
void L1D_cache_block_invalidate(unsigned int start, unsigned int end) void L1D_cache_block_invalidate(unsigned int start, unsigned int end)
{ {
...@@ -371,6 +372,7 @@ void L1D_cache_block_writeback(unsigned int start, unsigned int end) ...@@ -371,6 +372,7 @@ void L1D_cache_block_writeback(unsigned int start, unsigned int end)
(unsigned int *) end, (unsigned int *) end,
IMCR_L1DWBAR, IMCR_L1DWWC); IMCR_L1DWBAR, IMCR_L1DWWC);
} }
EXPORT_SYMBOL(L1D_cache_block_writeback);
/* /*
* L2 block operations * L2 block operations
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册