-
- Downloads
[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 <anton@samba.org> Acked-by:
Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- arch/ppc64/kernel/entry.S 0 additions, 9 deletionsarch/ppc64/kernel/entry.S
- arch/ppc64/kernel/head.S 5 additions, 5 deletionsarch/ppc64/kernel/head.S
- arch/ppc64/kernel/idle.c 3 additions, 5 deletionsarch/ppc64/kernel/idle.c
- arch/ppc64/kernel/process.c 0 additions, 3 deletionsarch/ppc64/kernel/process.c
- arch/ppc64/kernel/sysfs.c 2 additions, 6 deletionsarch/ppc64/kernel/sysfs.c
- include/asm-ppc64/processor.h 21 additions, 6 deletionsinclude/asm-ppc64/processor.h
- include/asm-ppc64/thread_info.h 2 additions, 2 deletionsinclude/asm-ppc64/thread_info.h
Please register or sign in to comment