On 08/01/2011 03:51 PM, Rainer Orth wrote:
Here's an updated version of the patch, containing two changes:

* Solaris 8 doesn't support KSTAT_DATA_STRING.

* I've updated the list of known cpu types, based on the
   /platform/sun4?/kernel/cpu{, /sparcv9} entries found in Solaris 8, 9,
   10 and 11.  It seems that the vendor field sometimes present there
   (SUNW, TI, Ross, ...) is consistently absent in the kstat output.
   While I could confirm this on all sun4u/sun4v system we have, I don't
   have access to sun4m machines any longer, so it's just a guess.

Bootstrapped without regressions no sparc-sun-solaris2.{8, 9, 10, 11}
without regressions (Solaris 8 bootstrap still running), -mcpu is
correctly detected everywhere.

Ok for mainline?

Build parts are ok.

Paolo

Reply via email to