[CELL] spufs: Make signal-notification files readonly for NOSCHED contexts
commitd054b36ffd302ec65aabec16a0c60ddd9e6b5a62
authorJeremy Kerr <jk@ozlabs.org>
Fri, 20 Jul 2007 19:39:31 +0000 (20 21:39 +0200)
committerArnd Bergmann <arnd@klappe.arndb.de>
Fri, 20 Jul 2007 19:41:48 +0000 (20 21:41 +0200)
tree8e19f833d7751f74a08cb8dd888c8f4a6e70f830
parent49776d30aea903fb2f9966c8e9b6f23ae5f7c937
[CELL] spufs: Make signal-notification files readonly for NOSCHED contexts

Reading from the signal{1,2} files requires a spu_acquire_saved, so
make these files write-only for contexts created with
SPU_CREATE_NOSCHED.

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