Skip to content

Commit

Permalink
[ARM] 4127/1: Flush the prefetch buffer after changing the DACR
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Catalin Marinas authored and Russell King committed Feb 8, 2007
1 parent dcda7e4 commit 620879c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/asm-arm/domain.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
__asm__ __volatile__( \
"mcr p15, 0, %0, c3, c0 @ set domain" \
: : "r" (x)); \
isb(); \
} while (0)

#define modify_domain(dom,type) \
Expand Down

0 comments on commit 620879c

Please sign in to comment.