There's no need to ifdef function prototypes, so remove the ifdefs. While there also remove unnecessary "export" for functions. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/arm/include/asm/cache.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/include/asm/cache.h b/arch/arm/include/asm/cache.h index 503bf8a0f7..0822cb78c3 100644 --- a/arch/arm/include/asm/cache.h +++ b/arch/arm/include/asm/cache.h @@ -1,13 +1,11 @@ #ifndef __ASM_CACHE_H #define __ASM_CACHE_H -#ifdef CONFIG_CPU_64v8 -extern void v8_invalidate_icache_all(void); +void v8_invalidate_icache_all(void); void v8_flush_dcache_all(void); void v8_invalidate_dcache_all(void); void v8_flush_dcache_range(unsigned long start, unsigned long end); void v8_inv_dcache_range(unsigned long start, unsigned long end); -#endif static inline void icache_invalidate(void) { -- 2.16.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox