Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Chen Gang and committed by
Mark Salter
3083ca23 2135115c

+2
+2
arch/c6x/platforms/cache.c
··· 350 350 (unsigned int *) end, 351 351 IMCR_L1PIBAR, IMCR_L1PIWC); 352 352 } 353 + EXPORT_SYMBOL(L1P_cache_block_invalidate); 353 354 354 355 void L1D_cache_block_invalidate(unsigned int start, unsigned int end) 355 356 { ··· 372 371 (unsigned int *) end, 373 372 IMCR_L1DWBAR, IMCR_L1DWWC); 374 373 } 374 + EXPORT_SYMBOL(L1D_cache_block_writeback); 375 375 376 376 /* 377 377 * L2 block operations