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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=620879c9e33262426db0ade650be5d7a2046377b;p=linux-beck.git [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 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) \