This patch removes the redundant code for getting the online status of a cpu thread in the get_one_smt_state() routine and now uses the common cpu_online() routine.
This patch removes the redundant code for getting the online status of a cpu
thread in the get_one_smt_state() routine and now uses the common cpu_online()
routine.

Signed-off-by: Nathan Fontenot <4b7bfe500077bf77c5456931a34b0b70e36e0bc6@austin.ibm.com>

mdroth/powerpc-utils,kamalesh-babulal/powerpc-utils,mdroth/powerpc-utils,leitao/powerpc-ibm-utils-debian,tyreld/powerpc-utils,tyreld/powerpc-utils,shenki/powerpc-utils,mdroth/powerpc-utils,leitao/powerpc-ibm-utils-debian,shenki/powerpc-utils,kamalesh-babulal/powerpc-utils,leitao/powerpc-ibm-utils-debian,tyreld/powerpc-utils,kamalesh-babulal/powerpc-utils,shenki/powerpc-utils