]> git.baikalelectronics.ru Git - kernel.git/commit
spufs: make signal-notification files readonly for NOSCHED contexts
authorJeremy Kerr <jk@ozlabs.org>
Sat, 21 Jul 2007 11:37:51 +0000 (04:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 00:49:16 +0000 (17:49 -0700)
commit2aae9d6b4120f17ae41b27e5656dba22652ee623
tree363762c8b3775ffd48cb469e09161cb6743fbe67
parentf9bdb0f1be223796b98a50c1ab4f02217628de6f
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>
Acked-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/powerpc/platforms/cell/spufs/file.c