summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/powerpc')
-rw-r--r--c/src/lib/libcpu/powerpc/ChangeLog4
-rw-r--r--c/src/lib/libcpu/powerpc/shared/src/cache_.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/c/src/lib/libcpu/powerpc/ChangeLog b/c/src/lib/libcpu/powerpc/ChangeLog
index 55469fe1d3..b27123e496 100644
--- a/c/src/lib/libcpu/powerpc/ChangeLog
+++ b/c/src/lib/libcpu/powerpc/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * shared/src/cache_.h: Include required header file.
+
2011-05-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* shared/include/powerpc-utility.h: API changes for ppc_*_cache_*()
diff --git a/c/src/lib/libcpu/powerpc/shared/src/cache_.h b/c/src/lib/libcpu/powerpc/shared/src/cache_.h
index 2eddab59a1..1d86535bf9 100644
--- a/c/src/lib/libcpu/powerpc/shared/src/cache_.h
+++ b/c/src/lib/libcpu/powerpc/shared/src/cache_.h
@@ -10,6 +10,7 @@
#define LIBCPU_POWERPC_CACHE_H
#include <rtems/powerpc/powerpc.h>
+#include <libcpu/cache.h>
/* Provide the CPU defines only if we have a cache */
#if PPC_CACHE_ALIGNMENT != PPC_NO_CACHE_ALIGNMENT
@@ -17,9 +18,4 @@
#define CPU_INSTRUCTION_CACHE_ALIGNMENT PPC_CACHE_ALIGNMENT
#endif
-#ifdef _OLD_EXCEPTIONS
-# warning OLD EXCEPTIONS
-# include <libcpu/cache.h>
-#endif
-
#endif /* LIBCPU_POWERPC_CACHE_H */