]> git.baikalelectronics.ru Git - kernel.git/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)
commitdf3fe4daab5c3bf9150d9d95d6a8cbd441b1c209
tree0752cd5559a9d8cafbbd31cab17e595df1c74de7
parentc5b871acc5202d4419c09a5eed9156c6f5351fe6
[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