diff options
Diffstat (limited to 'arch/arm64/mm/cache.S')
-rw-r--r-- | arch/arm64/mm/cache.S | 4 |
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 | */ |
51 | ENTRY(__flush_cache_user_range) | 51 | ENTRY(__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 |
74 | 1: | 74 | 1: |
75 | uaccess_ttbr0_disable x1 | 75 | uaccess_ttbr0_disable x1, x2 |
76 | ret | 76 | ret |
77 | 9: | 77 | 9: |
78 | mov x0, #-EFAULT | 78 | mov x0, #-EFAULT |