commit | ad941fe4b6b83999863f49dfba7b3d2cebc4ced5 | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Mon Aug 13 13:22:44 2007 +1000 |
committer | Paul Mackerras <paulus@samba.org> | Wed Aug 15 15:12:44 2007 +1000 |
tree | e06978ca055eb77b1a7c1a38af25a5d8ce613091 | |
parent | 28e8351ac22de25034e048c680014ad824323c65 [diff] |
[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 <jk@ozlabs.org> Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com> Signed-off-by: Paul Mackerras <paulus@samba.org>