Move cpu_has_work and cpu_pc_from_tb to cpu.h

Upstream f081c76ccfdbc1fdaa90fa5eb6abad46c1b5bfa8

Change-Id: I6f871f67404e13ba0c5070370542c0166814da02
7 files changed