diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-04-26 15:58:01 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-05-03 01:20:24 +1000 |
commit | 737b434d3d55c0b3c23df4eab1ea5b33f8850f30 (patch) | |
tree | 2d061547ebf1890321a6df1b7927d190a82e839f /arch/powerpc/mm/mmu_context.c | |
parent | 447def3b06adab60b999417b316bd2352d7e643e (diff) | |
download | linux-737b434d3d55c0b3c23df4eab1ea5b33f8850f30.tar.gz linux-737b434d3d55c0b3c23df4eab1ea5b33f8850f30.tar.bz2 linux-737b434d3d55c0b3c23df4eab1ea5b33f8850f30.zip |
powerpc/mm: convert Book3E 64 to pte_fragment
Book3E 64 is the only subarch not using pte_fragment. In order
to allow refactorisation, this patch converts it to pte_fragment.
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
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/mmu_context.c')
-rw-r--r-- | arch/powerpc/mm/mmu_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/mmu_context.c b/arch/powerpc/mm/mmu_context.c index bb52320b7369..6b049d82b98a 100644 --- a/arch/powerpc/mm/mmu_context.c +++ b/arch/powerpc/mm/mmu_context.c @@ -98,7 +98,7 @@ void switch_mm_irqs_off(struct mm_struct *prev, struct mm_struct *next, switch_mmu_context(prev, next, tsk); } -#ifdef CONFIG_PPC32 +#ifndef CONFIG_PPC_BOOK3S_64 void arch_exit_mmap(struct mm_struct *mm) { void *frag = pte_frag_get(&mm->context); |