[PATCH 1/5] ARM: include missing cp15.h header

From: Brian Norris
Date: Mon Sep 29 2014 - 21:36:27 EST

As of this commit:

commit 39792c7cf3111d69dc4aa0923859d8b929e9039f
ARM: 7861/1: cacheflush: consolidate single-CPU ARMv7 cache disabling code

cacheflush.h now utilizes the CR_C macro from cp15.h. Let's include it.

This also means several users of v7_exit_coherency_flush() no longer
have to include cp15.h directly when they don't directly use any #defines
from it.

Signed-off-by: Brian Norris <computersforpeace@xxxxxxxxx>
arch/arm/include/asm/cacheflush.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm/include/asm/cacheflush.h b/arch/arm/include/asm/cacheflush.h
index 79ecb4f34ffb..866e229d3129 100644
--- a/arch/arm/include/asm/cacheflush.h
+++ b/arch/arm/include/asm/cacheflush.h
@@ -16,6 +16,7 @@
#include <asm/shmparam.h>
#include <asm/cachetype.h>
#include <asm/outercache.h>
+#include <asm/cp15.h>

#define CACHE_COLOUR(vaddr) ((vaddr & (SHMLBA - 1)) >> PAGE_SHIFT)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/