 - If a thread is not bound to a kse return 0 from sched_pctcpu().
 - If a thread is not bound to a kse return 0 from sched_pctcpu().

Reported by:	 pawel.worach@nordea.com

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase