[POWERPC] spufs: Add a "capabilities" file to spu contexts
commitcbe709c1683dd54a2ec2981c9e8415cb3176f4e0
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 4 Jun 2007 05:15:38 +0000 (4 15:15 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 14 Jun 2007 12:29:56 +0000 (14 22:29 +1000)
tree4ad97fdc692cabe2dae53dd3f7d2c19ca2b60996
parent05169237b55058a3993fb4804d00b65dfa3e4a0c
[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