• Paul Mackerras's avatar
    powerpc: Simplify pSeries idle loop · fbd7740f
    Paul Mackerras authored
    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: default avatarPaul Mackerras <paulus@samba.org>
    fbd7740f
hvcall.h 6.34 KB