diff --git a/include/common.h b/include/common.h index bcc00e82b78c73b7d86e2e4a5881156d5bc873a4..eb19a444cd3cc37927d37721c52a662c6bd23d71 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