[Skiboot] [PATCH 4/4] hwmon: (ibmpowernv) pretty print labels

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Apr 8 06:22:02 AEST 2015


On Tue, 2015-04-07 at 20:03 +0200, Cedric Le Goater wrote:
> 
> This is a shortcut. The code is for the ibmpowernv platform and assumes 
> that we are running on a P8 (8 hardware threads). It would be better to 
> use a "maximum threads per core" variable but I am not sure this is 
> available, as it is a tunable. I will look into it.

Yes, please don't hard code this...

Cheers,
Ben.





More information about the Linuxppc-dev mailing list