backport from trunk (rev #5157):
Solaris does not expose whether system is SMP on uname output as Linux.
This needs to be evaluated through other means.
The patch finds out whether system is SMP by parsing output of psrinfo(1M)
Closes patch 2494198.
Credits go to Sergio Gutierrez