From: Jeremy Kerr Date: Wed, 13 Aug 2008 01:29:31 +0000 (+1000) Subject: powerpc/spufs: fix npc setting for NOSCHED contexts X-Git-Tag: v2.6.27-rc4~31^2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9dd421fd6ed17af55d27c8d93a9f561be0ff50f;p=pandora-kernel.git powerpc/spufs: fix npc setting for NOSCHED contexts Currently, spu_run ignores the npc argument for contexts created with SPU_CREATE_NOSCHED. While this is correct for isolated contexts, there's no need to enforce the npc restriction on non-isolated NOSCHED contexts. This means that NOSCHED contexts can only ever run with an entry point of 0x0. This change to spu_run_init allows setting of the npc (and, while we're at it, the privcntl) for non-isolated NOSCHED contexts. This allows us to run NOSCHED contexts from any entry point. Signed-off-by: Jeremy Kerr --- Reading git-diff-tree failed