[Cbe-oss-dev] Correct way to format spufs file output.

Benjamin Herrenschmidt benh at kernel.crashing.org
Sun Oct 22 10:13:22 EST 2006


On Sun, 2006-10-22 at 01:53 +0200, Ulrich Weigand wrote:
> 
> Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote on 10/22/2006
> 12:38:01 AM:
> 
> > Ok. Though even in that case... can we verify the known instances of
> > userspace code using those files directly ? They -might- cope with a
> > switch to hex and 0x prefix... or not. I wouldn't expect much user
> code
> > to directly manipulate the sysfs files, I would expect that to be
> done
> > via libspe most of the time, so if the later works.... 
> 
> I fail to see why we should even attempt this -- the signal_type
> files 
> are boolean, they contain either 0 or 1.  What would be the benefit
> of 
> replacing this by 0x0 and 0x1? 

Ah sure ! I wasn't talking about those ones... In fact, I was really
only concerned about the hex files with missing 0x, I interpreted your
previous mail a saying some -other- files had decimal values, but if
it's just for those bools, then there is absolutely no reason to change
them indeed.

Ben.
 




More information about the cbe-oss-dev mailing list