[POWERPC] cell: Fix errno for modular spufs_create with invalid neighbour
authorJeremy Kerr <jk@ozlabs.org>
Mon, 13 Aug 2007 03:22:44 +0000 (13:22 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 15 Aug 2007 05:12:44 +0000 (15:12 +1000)
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 <jk@ozlabs.org>
Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found