powerpc/mm: Split mmu_context handling
This splits the mmu_context handling between 32-bit hash based processors, 64-bit hash based processors and everybody else. This is preliminary work for adding SMP support for BookE processors. Signed-off-by:Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by:
Kumar Gala <galak@kernel.crashing.org> Signed-off-by:
Paul Mackerras <paulus@samba.org>
Showing
- arch/powerpc/include/asm/mmu_context.h 34 additions, 226 deletionsarch/powerpc/include/asm/mmu_context.h
- arch/powerpc/kernel/asm-offsets.c 1 addition, 0 deletionsarch/powerpc/kernel/asm-offsets.c
- arch/powerpc/kernel/head_32.S 11 additions, 1 deletionarch/powerpc/kernel/head_32.S
- arch/powerpc/kernel/ppc_ksyms.c 1 addition, 2 deletionsarch/powerpc/kernel/ppc_ksyms.c
- arch/powerpc/kernel/swsusp.c 1 addition, 1 deletionarch/powerpc/kernel/swsusp.c
- arch/powerpc/mm/Makefile 4 additions, 3 deletionsarch/powerpc/mm/Makefile
- arch/powerpc/mm/mmu_context_hash32.c 103 additions, 0 deletionsarch/powerpc/mm/mmu_context_hash32.c
- arch/powerpc/mm/mmu_context_hash64.c 8 additions, 0 deletionsarch/powerpc/mm/mmu_context_hash64.c
- arch/powerpc/mm/mmu_context_nohash.c 162 additions, 0 deletionsarch/powerpc/mm/mmu_context_nohash.c
- arch/powerpc/platforms/Kconfig.cputype 9 additions, 1 deletionarch/powerpc/platforms/Kconfig.cputype
- arch/powerpc/platforms/powermac/cpufreq_32.c 1 addition, 1 deletionarch/powerpc/platforms/powermac/cpufreq_32.c
- drivers/macintosh/via-pmu.c 2 additions, 2 deletionsdrivers/macintosh/via-pmu.c
Loading
Please register or sign in to comment