cache: fix build error when cache ops are builtin

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
Liam Girdwood 2017-06-09 21:39:34 +01:00
parent 06bb8e3dd3
commit 29bc19f042
1 changed files with 4 additions and 4 deletions

View File

@ -48,22 +48,22 @@ static inline void icache_writeback_invalidate_region(void *addr, size_t size) {
static inline void dcache_writeback_region(void *addr, size_t size)
{
xthal_dcache_region_writeback(void *addr, size_t size);
xthal_dcache_region_writeback(addr, size);
}
static inline void icache_writeback_region(void *addr, size_t size)
{
xthal_icache_region_writeback(void *addr, size_t size);
xthal_icache_region_writeback(addr, size);
}
static inline void dcache_invalidate_region(void *addr, size_t size)
{
xthal_dcache_region_invalidate(void *addr, size_t size);
xthal_dcache_region_invalidate(addr, size);
}
static inline void icache_invalidate_region(void *addr, size_t size)
{
xthal_icache_region_invalidate(void *addr, size_t size);
xthal_icache_region_invalidate(addr, size);
}
static inline void dcache_writeback_invalidate_region(void *addr, size_t size)