From: Jeremy Kerr Date: Mon, 13 Aug 2007 03:22:44 +0000 (+1000) Subject: [POWERPC] cell: Fix errno for modular spufs_create with invalid neighbour X-Git-Tag: v2.6.23-rc4~130^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad941fe4b6b83999863f49dfba7b3d2cebc4ced5;p=pandora-kernel.git [POWERPC] cell: Fix errno for modular spufs_create with invalid neighbour At present, spu_create with an invalid neighbo(u)r will return -ENOSYS, not -EBADF, but only when spufs.o is built as a module. This change adds the appropriate errno, making the behaviour the same as the built-in case. Signed-off-by: Jeremy Kerr Acked-by: Arnd Bergmann Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed