diff options
Diffstat (limited to 'arch/arm64/mm/cache.S')
-rw-r--r-- | arch/arm64/mm/cache.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm64/mm/cache.S b/arch/arm64/mm/cache.S index 23663837acff..8eaf18577d71 100644 --- a/arch/arm64/mm/cache.S +++ b/arch/arm64/mm/cache.S | |||
@@ -20,6 +20,8 @@ | |||
20 | #include <linux/linkage.h> | 20 | #include <linux/linkage.h> |
21 | #include <linux/init.h> | 21 | #include <linux/init.h> |
22 | #include <asm/assembler.h> | 22 | #include <asm/assembler.h> |
23 | #include <asm/cpufeature.h> | ||
24 | #include <asm/alternative-asm.h> | ||
23 | 25 | ||
24 | #include "proc-macros.S" | 26 | #include "proc-macros.S" |
25 | 27 | ||
@@ -210,7 +212,7 @@ __dma_clean_range: | |||
210 | dcache_line_size x2, x3 | 212 | dcache_line_size x2, x3 |
211 | sub x3, x2, #1 | 213 | sub x3, x2, #1 |
212 | bic x0, x0, x3 | 214 | bic x0, x0, x3 |
213 | 1: dc cvac, x0 // clean D / U line | 215 | 1: alternative_insn "dc cvac, x0", "dc civac, x0", ARM64_WORKAROUND_CLEAN_CACHE |
214 | add x0, x0, x2 | 216 | add x0, x0, x2 |
215 | cmp x0, x1 | 217 | cmp x0, x1 |
216 | b.lo 1b | 218 | b.lo 1b |