aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-generic/mutex-dec.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-03-26 23:06:20 -0500
committerPaul Mackerras <paulus@samba.org>2006-03-26 23:06:20 -0500
commitfbd7740fdfdf9475f92287a84085a1913541cd5d (patch)
treef8719f3c3c45b498c51aaf290a682468726beb55 /include/asm-generic/mutex-dec.h
parenta0652fc9a28c3ef8cd59264bfcb089c44d1b0e06 (diff)
powerpc: Simplify pSeries idle loop
Since pSeries only wants to do something different in the idle loop when there is no work to do, we can simplify the code by implementing ppc_md.power_save functions instead of complete idle loops. There are two versions: one for shared-processor partitions and one for dedicated- processor partitions. With this we also do a cede_processor() call on dedicated processor partitions if the poll_pending() call indicates that the hypervisor has work it wants to do. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-generic/mutex-dec.h')
0 files changed, 0 insertions, 0 deletions