[PATCH 1/3] shared/src/cache_manager.c: Make prototype match that in header

Joel Sherrill joel.sherrill at oarcorp.com
Mon May 4 21:34:02 UTC 2015


At least all m68k BSPs were not compiling without this fix.
---
 c/src/lib/libcpu/shared/src/cache_manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/src/lib/libcpu/shared/src/cache_manager.c b/c/src/lib/libcpu/shared/src/cache_manager.c
index 202ea8e..003d010 100644
--- a/c/src/lib/libcpu/shared/src/cache_manager.c
+++ b/c/src/lib/libcpu/shared/src/cache_manager.c
@@ -340,7 +340,7 @@ static void smp_cache_inst_inv_all(void *arg)
 
 #if defined(CPU_INSTRUCTION_CACHE_ALIGNMENT) \
   && !defined(CPU_CACHE_SUPPORT_PROVIDES_RANGE_FUNCTIONS)
-static void
+void
 _CPU_cache_invalidate_instruction_range(
   const void * i_addr,
   size_t n_bytes
-- 
1.9.3



More information about the devel mailing list