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>
Cette révision appartient à :

révisé par
Michael Ellerman

Parent
447def3b06
révision
737b434d3d
@@ -7,12 +7,12 @@ ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
|
||||
|
||||
obj-y := fault.o mem.o pgtable.o mmap.o \
|
||||
init_$(BITS).o pgtable_$(BITS).o \
|
||||
pgtable-frag.o \
|
||||
init-common.o mmu_context.o drmem.o
|
||||
obj-$(CONFIG_PPC_MMU_NOHASH) += nohash/
|
||||
obj-$(CONFIG_PPC_BOOK3S_32) += book3s32/
|
||||
obj-$(CONFIG_PPC_BOOK3S_64) += book3s64/
|
||||
obj-$(CONFIG_PPC_BOOK3S_64) += pgtable-frag.o
|
||||
obj-$(CONFIG_PPC32) += pgtable-frag.o
|
||||
obj-$(CONFIG_NEED_MULTIPLE_NODES) += numa.o
|
||||
obj-$(CONFIG_PPC_MM_SLICES) += slice.o
|
||||
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
|
||||
|
@@ -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);
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur