aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorTony Breeds <tony@bakeyournoodle.com>2008-03-17 16:23:29 +1100
committerPaul Mackerras <paulus@samba.org>2008-03-26 08:44:05 +1100
commit96366a8d3f17ee964802378d4a1f51fda86f070e (patch)
tree80ee328c588a1fbef0134c3ffcd8bb07267a22d8 /arch/powerpc/kernel/asm-offsets.c
parent71e91a0abb839f8d2372236d8fe0513c295ec717 (diff)
[POWERPC] Update wait_state_cycles in the VPA
The hypervisor can look at the value in the wait_state_cycles field of the VPA for an estimate of how busy dedicated processors are. Currently, as the kernel never touches this field, we appear to be 100% busy. This records the duration the kernel is in powersave and passes that to the HV to provide a reasonable indication of utilisation. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/asm-offsets.c')
0 files changed, 0 insertions, 0 deletions