diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2007-08-13 03:22:44 (GMT) |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-08-15 05:12:44 (GMT) |
commit | ad941fe4b6b83999863f49dfba7b3d2cebc4ced5 (patch) | |
tree | e06978ca055eb77b1a7c1a38af25a5d8ce613091 /arch/parisc/lib/checksum.c | |
parent | 28e8351ac22de25034e048c680014ad824323c65 (diff) | |
download | linux-fsl-qoriq-ad941fe4b6b83999863f49dfba7b3d2cebc4ced5.tar.xz |
[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>
Diffstat (limited to 'arch/parisc/lib/checksum.c')
0 files changed, 0 insertions, 0 deletions