summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index bcc00e8..eb19a44 100644
--- a/include/common.h
+++ b/include/common.h
@@ -782,6 +782,14 @@ int cpu_release(int nr, int argc, char * const argv[]);
#endif /* __ASSEMBLY__ */
+#ifdef CONFIG_PPC
+/*
+ * Has to be included outside of the #ifndef __ASSEMBLY__ section.
+ * Otherwise might lead to compilation errors in assembler files.
+ */
+#include <asm/cache.h>
+#endif
+
/* Put only stuff here that the assembler can digest */
#ifdef CONFIG_POST