powerpc/cell: Move spu_handle_mm_fault() out of cell platform
authorIan Munsie <imunsie@au1.ibm.com>
Wed, 8 Oct 2014 08:54:50 +0000 (19:54 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 8 Oct 2014 09:14:54 +0000 (20:14 +1100)
commite83d01697583d8610d1d62279758c2a881e3396f
tree167a30304a5b48debcb66955efdf5f68808c1998
parent60666de2dac99777631d0df64257d7fd6a5118fe
powerpc/cell: Move spu_handle_mm_fault() out of cell platform

Currently spu_handle_mm_fault() is in the cell platform.

This code is generically useful for other non-cell co-processors on powerpc.

This patch moves this function out of the cell platform into arch/powerpc/mm so
that others may use it.

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Kconfig
arch/powerpc/include/asm/copro.h [new file with mode: 0644]
arch/powerpc/include/asm/spu.h
arch/powerpc/mm/Makefile
arch/powerpc/mm/copro_fault.c [new file with mode: 0644]
arch/powerpc/platforms/cell/Kconfig
arch/powerpc/platforms/cell/Makefile
arch/powerpc/platforms/cell/spu_fault.c [deleted file]
arch/powerpc/platforms/cell/spufs/fault.c