aboutsummaryrefslogtreecommitdiff
path: root/core/test
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2017-05-22 15:53:01 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-06-06 20:49:06 +1000
commitdb9c1422002c1333fd09177d32edb8c2003fb4ea (patch)
tree5f6e4186e87b1c7927a1d9d915e59529c3929c19 /core/test
parent38b0c8454b56a74fe785f0db1d218afa8f6ea478 (diff)
downloadskiboot-db9c1422002c1333fd09177d32edb8c2003fb4ea.zip
skiboot-db9c1422002c1333fd09177d32edb8c2003fb4ea.tar.gz
skiboot-db9c1422002c1333fd09177d32edb8c2003fb4ea.tar.bz2
Improve cpu_idle when PM is disabled
Split cpu_idle() into cpu_idle_delay() and cpu_idle_job() rather than requesting the idle type as a function argument. Have those functions provide a default polling (non-PM) implentation which spin at the lowest SMT priority. This moves all the decrementer delay code into the CPU idle code rather than the caller. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/test')
0 files changed, 0 insertions, 0 deletions