]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] spufs: Add a "capabilities" file to spu contexts
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 4 Jun 2007 05:15:38 +0000 (15:15 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 14 Jun 2007 12:29:56 +0000 (22:29 +1000)
commit11a783c4a6bf8c1dc91772012ad4501282a86292
tree4ad97fdc692cabe2dae53dd3f7d2c19ca2b60996
parent9376423306de58e70e589cc39dab03d7af4dfa72
[POWERPC] spufs: Add a "capabilities" file to spu contexts

This adds a "capabilities" file to spu contexts consisting of a
list of linefeed separated capability names. The current exposed
capabilities are "sched" (the context is scheduleable) and
"step" (the context supports single stepping).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/cell/spufs/file.c