From: Jeremy Kerr Date: Wed, 5 Dec 2007 02:49:31 +0000 (+1100) Subject: [POWERPC] cell: handle SPE kernel mappings that cross segment boundaries X-Git-Tag: v2.6.25-rc1~1131^2~275^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=684bd614015188561197342fd336292e9e2ce196;p=pandora-kernel.git [POWERPC] cell: handle SPE kernel mappings that cross segment boundaries Currently, we have a possibilty that the SLBs setup during context switch don't cover the entirety of the necessary lscsa and code regions, if these regions cross a segment boundary. This change checks the start and end of each region, and inserts a SLB entry for each, if unique. We also remove the assumption that the spu_save_code and spu_restore_code reside in the same segment, by using the specific code array for save and restore. Signed-off-by: Jeremy Kerr Signed-off-by: Arnd Bergmann --- Reading git-diff-tree failed