• A
    KVM: PPC: Improve indirect svcpu accessors · c7f38f46
    Alexander Graf 提交于
    We already have some inline fuctions we use to access vcpu or svcpu structs,
    depending on whether we're on booke or book3s. Since we just put a few more
    registers into the svcpu, we also need to make sure the respective callbacks
    are available and get used.
    
    So this patch moves direct use of the now in the svcpu struct fields to
    inline function calls. While at it, it also moves the definition of those
    inline function calls to respective header files for booke and book3s,
    greatly improving readability.
    Signed-off-by: NAlexander Graf <agraf@suse.de>
    Signed-off-by: NAvi Kivity <avi@redhat.com>
    c7f38f46
book3s_paired_singles.c 31.3 KB