diff options
Diffstat (limited to 'arch/arm64/kernel/entry.S')
| -rw-r--r-- | arch/arm64/kernel/entry.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S index 9b8635d9d7ae..17c15f741780 100644 --- a/arch/arm64/kernel/entry.S +++ b/arch/arm64/kernel/entry.S | |||
| @@ -167,10 +167,10 @@ alternative_else_nop_endif | |||
| 167 | .else | 167 | .else |
| 168 | add x21, sp, #S_FRAME_SIZE | 168 | add x21, sp, #S_FRAME_SIZE |
| 169 | get_thread_info tsk | 169 | get_thread_info tsk |
| 170 | /* Save the task's original addr_limit and set USER_DS (TASK_SIZE_64) */ | 170 | /* Save the task's original addr_limit and set USER_DS */ |
| 171 | ldr x20, [tsk, #TSK_TI_ADDR_LIMIT] | 171 | ldr x20, [tsk, #TSK_TI_ADDR_LIMIT] |
| 172 | str x20, [sp, #S_ORIG_ADDR_LIMIT] | 172 | str x20, [sp, #S_ORIG_ADDR_LIMIT] |
| 173 | mov x20, #TASK_SIZE_64 | 173 | mov x20, #USER_DS |
| 174 | str x20, [tsk, #TSK_TI_ADDR_LIMIT] | 174 | str x20, [tsk, #TSK_TI_ADDR_LIMIT] |
| 175 | /* No need to reset PSTATE.UAO, hardware's already set it to 0 for us */ | 175 | /* No need to reset PSTATE.UAO, hardware's already set it to 0 for us */ |
| 176 | .endif /* \el == 0 */ | 176 | .endif /* \el == 0 */ |
