summaryrefslogtreecommitdiff
path: root/include/asm-arm/domain.h
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2007-02-05 14:47:46 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-02-08 14:49:18 +0000
commit620879c9e33262426db0ade650be5d7a2046377b (patch)
tree458be4f1bed4cb143f40b6b438c49afe9e2cb248 /include/asm-arm/domain.h
parentdcda7e4ba1adec80089ec784964b32f9fd653237 (diff)
[ARM] 4127/1: Flush the prefetch buffer after changing the DACR
The ARM Architecture Reference Manual specifies that a prefetch flush is needed after changing the DACR register (chapter B2.7.6). Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/domain.h')
-rw-r--r--include/asm-arm/domain.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-arm/domain.h b/include/asm-arm/domain.h
index 4c2885abbe6c..3c12a7625304 100644
--- a/include/asm-arm/domain.h
+++ b/include/asm-arm/domain.h
@@ -57,6 +57,7 @@
__asm__ __volatile__( \
"mcr p15, 0, %0, c3, c0 @ set domain" \
: : "r" (x)); \
+ isb(); \
} while (0)
#define modify_domain(dom,type) \