From: Catalin Marinas Date: Mon, 5 Feb 2007 13:47:46 +0000 (+0100) Subject: [ARM] 4127/1: Flush the prefetch buffer after changing the DACR X-Git-Tag: v2.6.21-rc1~75^2~6^6~12 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=620879c9e33262426db0ade650be5d7a2046377b;p=linux-2.6 [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 Signed-off-by: Russell King --- diff --git a/include/asm-arm/domain.h b/include/asm-arm/domain.h index 4c2885abbe..3c12a76253 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) \