]> err.no Git - linux-2.6/commit
[POWERPC] spufs: return an error in spu_create is isolated create isnt supported
authorJeremy Kerr <jk@ozlabs.org>
Mon, 27 Nov 2006 18:18:52 +0000 (19:18 +0100)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 Dec 2006 09:41:07 +0000 (20:41 +1100)
commitbd2e5f829e772787ea4d986d72ddf57f50878649
tree0752cd5559a9d8cafbbd31cab17e595df1c74de7
parentaa668d6aac63f5fc02aa63bf25ff36d12510e050
[POWERPC] spufs: return an error in spu_create is isolated create isnt supported

This changes the spu_create system call to return an error (-ENODEV) if
and isolated spu context is requested on hardware that doesn't support
isolated mode.

Tested on systemsim with and without isolation support

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
arch/powerpc/platforms/cell/spufs/inode.c