diff options
-rw-r--r-- | arch/arm/mm/blockops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mm/blockops.c b/arch/arm/mm/blockops.c index 806c6eeb1b0c..4f5ee2d08996 100644 --- a/arch/arm/mm/blockops.c +++ b/arch/arm/mm/blockops.c | |||
@@ -25,13 +25,14 @@ blk_flush_kern_dcache_page(void *kaddr) | |||
25 | { | 25 | { |
26 | asm( | 26 | asm( |
27 | "add r1, r0, %0 \n\ | 27 | "add r1, r0, %0 \n\ |
28 | sub r1, r1, %1 \n\ | ||
28 | 1: .word 0xec401f0e @ mcrr p15, 0, r0, r1, c14, 0 @ blocking \n\ | 29 | 1: .word 0xec401f0e @ mcrr p15, 0, r0, r1, c14, 0 @ blocking \n\ |
29 | mov r0, #0 \n\ | 30 | mov r0, #0 \n\ |
30 | mcr p15, 0, r0, c7, c5, 0 \n\ | 31 | mcr p15, 0, r0, c7, c5, 0 \n\ |
31 | mcr p15, 0, r0, c7, c10, 4 \n\ | 32 | mcr p15, 0, r0, c7, c10, 4 \n\ |
32 | mov pc, lr" | 33 | mov pc, lr" |
33 | : | 34 | : |
34 | : "I" (PAGE_SIZE)); | 35 | : "I" (PAGE_SIZE), "I" (L1_CACHE_BYTES)); |
35 | } | 36 | } |
36 | 37 | ||
37 | /* | 38 | /* |