aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/mm/cache.S')
-rw-r--r--arch/arm64/mm/cache.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/mm/cache.S b/arch/arm64/mm/cache.S
index 3be2cda5dbda..e5091d9cceb6 100644
--- a/arch/arm64/mm/cache.S
+++ b/arch/arm64/mm/cache.S
@@ -49,7 +49,7 @@ ENTRY(flush_icache_range)
49 * - end - virtual end address of region 49 * - end - virtual end address of region
50 */ 50 */
51ENTRY(__flush_cache_user_range) 51ENTRY(__flush_cache_user_range)
52 uaccess_ttbr0_enable x2, x3 52 uaccess_ttbr0_enable x2, x3, x4
53 dcache_line_size x2, x3 53 dcache_line_size x2, x3
54 sub x3, x2, #1 54 sub x3, x2, #1
55 bic x4, x0, x3 55 bic x4, x0, x3
@@ -72,7 +72,7 @@ USER(9f, ic ivau, x4 ) // invalidate I line PoU
72 isb 72 isb
73 mov x0, #0 73 mov x0, #0
741: 741:
75 uaccess_ttbr0_disable x1 75 uaccess_ttbr0_disable x1, x2
76 ret 76 ret
779: 779:
78 mov x0, #-EFAULT 78 mov x0, #-EFAULT