From: Paul Mackerras Date: Mon, 27 Mar 2006 04:06:20 +0000 (+1100) Subject: powerpc: Simplify pSeries idle loop X-Git-Tag: v2.6.17-rc1~165^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbd7740fdfdf9475f92287a84085a1913541cd5d;p=pandora-kernel.git 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 --- Reading git-diff-tree failed