diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-02-21 10:37:55 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-02-22 00:10:16 +1100 |
commit | 93c4a162b014d238a287f8264adb25c009c79e61 (patch) | |
tree | 22a11a62f16f26c387315108f5b6ff2892f9e14f /arch/powerpc/mm/pgtable_32.c | |
parent | 0df977eafc792a5365a7f81d8d5920132e03afad (diff) |
powerpc/6xx: Store PGDIR physical address in a SPRG
Use SPRN_SPRG2 to store the current thread PGDIR and
avoid reading thread_struct.pgdir at every TLB miss.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/pgtable_32.c')
0 files changed, 0 insertions, 0 deletions