From: Anton Blanchard Date: Thu, 2 Jun 2005 21:02:02 +0000 (-0700) Subject: [PATCH] ppc64: cleanup iseries runlight support X-Git-Tag: v2.6.12-rc6~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dc2f0c7df6cefda5932ac8bcd9ca5ef45de36ee;p=pandora-kernel.git [PATCH] ppc64: cleanup iseries runlight support The iseries has a bar graph on the front panel that shows how busy it is. The operating system sets and clears a bit in the CTRL register to control it. Instead of going to the complexity of using a thread info bit, just set and clear it in the idle loop. Also create two helper functions, ppc64_runlatch_on and ppc64_runlatch_off. Finally don't use the short form of the SPR defines. Signed-off-by: Anton Blanchard Acked-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed