summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/openrisc/cpu/cache.c1
-rw-r--r--arch/openrisc/cpu/exceptions.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/openrisc/cpu/cache.c b/arch/openrisc/cpu/cache.c
index 1da2380c03..db6403634a 100644
--- a/arch/openrisc/cpu/cache.c
+++ b/arch/openrisc/cpu/cache.c
@@ -17,6 +17,7 @@
#include <common.h>
#include <init.h>
#include <asm/system.h>
+#include <asm/cache.h>
void flush_dcache_range(unsigned long addr, unsigned long stop)
{
diff --git a/arch/openrisc/cpu/exceptions.c b/arch/openrisc/cpu/exceptions.c
index 4c52feb51c..c69ceafe80 100644
--- a/arch/openrisc/cpu/exceptions.c
+++ b/arch/openrisc/cpu/exceptions.c
@@ -16,6 +16,7 @@
#include <common.h>
#include <asm/system.h>
+#include <asm/openrisc_exc.h>
static const char * const excp_table[] = {
"Unknown exception",