powerpc/mm: Split mmu_context handling
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 18 Dec 2008 19:13:24 +0000 (19:13 +0000)
committerPaul Mackerras <paulus@samba.org>
Sun, 21 Dec 2008 03:21:15 +0000 (14:21 +1100)
commit5e696617c425eb97bd943d781f3941fb1e8f0e5b
tree82138fbda2e28fbe8d0e5821f218cb160230ce27
parent6d2170be4561293a6aa821c773687bd3f18e8206
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>
13 files changed:
arch/powerpc/include/asm/mmu_context.h
arch/powerpc/kernel/asm-offsets.c
arch/powerpc/kernel/head_32.S
arch/powerpc/kernel/ppc_ksyms.c
arch/powerpc/kernel/swsusp.c
arch/powerpc/mm/Makefile
arch/powerpc/mm/mmu_context_32.c [deleted file]
arch/powerpc/mm/mmu_context_hash32.c [new file with mode: 0644]
arch/powerpc/mm/mmu_context_hash64.c [moved from arch/powerpc/mm/mmu_context_64.c with 86% similarity]
arch/powerpc/mm/mmu_context_nohash.c [new file with mode: 0644]
arch/powerpc/platforms/Kconfig.cputype
arch/powerpc/platforms/powermac/cpufreq_32.c
drivers/macintosh/via-pmu.c