diff options
author | Chen Gang <xili_gchen_5257@hotmail.com> | 2015-03-04 02:05:25 -0500 |
---|---|---|
committer | Mark Salter <msalter@redhat.com> | 2015-03-26 10:49:58 -0400 |
commit | 3083ca2376a76072dc0071fb211de80b0ac44bd1 (patch) | |
tree | 1f19656ee2a406d2bc627ba38d0310266b603c29 | |
parent | 2135115c938dcaba689a3780c0bffb6db1d05601 (diff) |
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: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Mark Salter <msalter@redhat.com>
-rw-r--r-- | arch/c6x/platforms/cache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/c6x/platforms/cache.c b/arch/c6x/platforms/cache.c index 86318a16a252..46fd2d530271 100644 --- a/arch/c6x/platforms/cache.c +++ b/arch/c6x/platforms/cache.c | |||
@@ -350,6 +350,7 @@ void L1P_cache_block_invalidate(unsigned int start, unsigned int end) | |||
350 | (unsigned int *) end, | 350 | (unsigned int *) end, |
351 | IMCR_L1PIBAR, IMCR_L1PIWC); | 351 | IMCR_L1PIBAR, IMCR_L1PIWC); |
352 | } | 352 | } |
353 | EXPORT_SYMBOL(L1P_cache_block_invalidate); | ||
353 | 354 | ||
354 | void L1D_cache_block_invalidate(unsigned int start, unsigned int end) | 355 | void L1D_cache_block_invalidate(unsigned int start, unsigned int end) |
355 | { | 356 | { |
@@ -371,6 +372,7 @@ void L1D_cache_block_writeback(unsigned int start, unsigned int end) | |||
371 | (unsigned int *) end, | 372 | (unsigned int *) end, |
372 | IMCR_L1DWBAR, IMCR_L1DWWC); | 373 | IMCR_L1DWBAR, IMCR_L1DWWC); |
373 | } | 374 | } |
375 | EXPORT_SYMBOL(L1D_cache_block_writeback); | ||
374 | 376 | ||
375 | /* | 377 | /* |
376 | * L2 block operations | 378 | * L2 block operations |