diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2017-10-24 23:06:53 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-11-06 16:48:10 +1100 |
commit | dffe8449c5dd63ff18b47709de75553586582cd8 (patch) | |
tree | 9a5a1dba390f0b93ce08ce2c8e97dc7e80994cfc /arch/powerpc/include/asm/mmu_context.h | |
parent | 63c9d8a4b394f9d8e995292a7c74648760235b44 (diff) |
powerpc/64s/radix: Improve preempt handling in TLB code
Preempt should be consistently disabled for mm_is_thread_local tests,
so bring the rest of these under preempt_disable().
Preempt does not need to be disabled for the mm->context.id tests,
which allows simplification and removal of gotos.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/mmu_context.h')
0 files changed, 0 insertions, 0 deletions