From: Jeremy Kerr Date: Wed, 5 Dec 2007 02:49:31 +0000 (+1100) Subject: [POWERPC] cell: handle kernel SLB setup in spu_base.c X-Git-Tag: v2.6.25-rc1~1131^2~275^2~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58bd403c3c79dd41acf5af2d170bd4e0872bb326;p=pandora-kernel.git [POWERPC] cell: handle kernel SLB setup in spu_base.c Currently, the SPU context switch code (spufs/switch.c) sets up the SPU's SLBs directly, which requires some low-level mm stuff. This change moves the kernel SLB setup to spu_base.c, by exposing a function spu_setup_kernel_slbs() to do this setup. This allows us to remove the low-level mm code from switch.c, making it possible to later move switch.c to the spufs module. Also, add a struct spu_slb for the cases where we need to deal with SLB entries. Signed-off-by: Jeremy Kerr Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed