[rtems commit] score: Add missing define to cache manager
Sebastian Huber
sebh at rtems.org
Mon Aug 25 06:50:14 UTC 2014
Module: rtems
Branch: master
Commit: e7a42a0cfbafc2311888780b086010aef6556311
Changeset: http://git.rtems.org/rtems/commit/?id=e7a42a0cfbafc2311888780b086010aef6556311
Author: Daniel Cederman <cederman at gaisler.com>
Date: Mon Aug 25 08:48:17 2014 +0200
score: Add missing define to cache manager
---
c/src/lib/libcpu/shared/src/cache_manager.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/c/src/lib/libcpu/shared/src/cache_manager.c b/c/src/lib/libcpu/shared/src/cache_manager.c
index 7dd408f..7ff1166 100644
--- a/c/src/lib/libcpu/shared/src/cache_manager.c
+++ b/c/src/lib/libcpu/shared/src/cache_manager.c
@@ -435,6 +435,7 @@ rtems_cache_disable_data( void )
* and then perform the invalidations.
*/
+#if defined(CPU_INSTRUCTION_CACHE_ALIGNMENT)
#if !defined(CPU_CACHE_SUPPORT_PROVIDES_RANGE_FUNCTIONS)
static void
_invalidate_multiple_instruction_lines_no_range_functions(
@@ -462,6 +463,7 @@ _invalidate_multiple_instruction_lines_no_range_functions(
}
}
#endif
+#endif
void
rtems_cache_invalidate_multiple_instruction_lines(
More information about the vc
mailing list