diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-02-04 12:16:48 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-02-23 12:31:40 +0100 |
commit | 7aef376679a428c6b7792fb4ce93364fd02caad4 (patch) | |
tree | b610e5df69930203562bd58d60da1c2d330017d0 /arch/powerpc/include/asm/irq.h | |
parent | powerpc: Use task_stack_page() in current_pt_regs() (diff) | |
download | linux-7aef376679a428c6b7792fb4ce93364fd02caad4.tar.xz linux-7aef376679a428c6b7792fb4ce93364fd02caad4.zip |
powerpc/idle/6xx: Use r1 with CURRENT_THREAD_INFO()
Make sure CURRENT_THREAD_INFO() is used with r1 which is the virtual
address of the stack, in order to ease the switch to r2 when we enable
THREAD_INFO_IN_TASK, as we have no register having the phys address of
current.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
[mpe: Split out of larger patch]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/irq.h')
0 files changed, 0 insertions, 0 deletions