[PATCH 1/3] powerpc: Split ICSWX ACOP and PID processing

Kumar Gala galak at kernel.crashing.org
Tue Aug 9 15:20:54 EST 2011


On Aug 8, 2011, at 5:26 PM, Jimi Xenidis wrote:

> Some processors, like embedded, that already have a PID register that
> is managed by the system.  This patch separates the ACOP and PID
> processing into separate files so that the ACOP code can be shared.
> 
> Signed-off-by: Jimi Xenidis <jimix at pobox.com>
> ---
> arch/powerpc/mm/Makefile               |    4 +-
> arch/powerpc/mm/icswx.c                |  163 ++++++++++++++++++++++++++
> arch/powerpc/mm/icswx.h                |   34 ++++++
> arch/powerpc/mm/icswx_pid.c            |   87 ++++++++++++++
> arch/powerpc/mm/mmu_context_hash64.c   |  195 --------------------------------
> arch/powerpc/platforms/Kconfig.cputype |   10 ++-
> 6 files changed, 296 insertions(+), 197 deletions(-)
> create mode 100644 arch/powerpc/mm/icswx.c
> create mode 100644 arch/powerpc/mm/icswx.h
> create mode 100644 arch/powerpc/mm/icswx_pid.c
> 
> diff --git a/arch/powerpc/mm/Makefile b/arch/powerpc/mm/Makefile
> index bdca46e..ba51190 100644
> --- a/arch/powerpc/mm/Makefile
> +++ b/arch/powerpc/mm/Makefile
> @@ -21,7 +21,9 @@ obj-$(CONFIG_PPC_STD_MMU_32)	+= ppc_mmu_32.o
> obj-$(CONFIG_PPC_STD_MMU)	+= hash_low_$(CONFIG_WORD_SIZE).o \
> 				   tlb_hash$(CONFIG_WORD_SIZE).o \
> 				   mmu_context_hash$(CONFIG_WORD_SIZE).o
> -obj-$(CONFIG_40x)		+= 40x_mmu.o
> +obj-$(CONFIG_PPC_ICSWX)		+= icswx.o
> +obj-$(CONFIG_PPC_ICSWX_PID)	+= icswx_pid.o
> +obj-$(CONFIG_40x)		+= 40x_mmu.o?

? seems like a typo

> obj-$(CONFIG_44x)		+= 44x_mmu.o
> obj-$(CONFIG_PPC_FSL_BOOK3E)	+= fsl_booke_mmu.o
> obj-$(CONFIG_NEED_MULTIPLE_NODES) += numa.o



More information about the Linuxppc-dev mailing list