>>  
>> +hwaddr ppc_hash64_hpt_reg(PowerPCCPU *cpu)
>> +{
>> +    CPUPPCState *env = &cpu->env;
>> +
>> +    if (env->mmu_model & POWERPC_MMU_V3) {
>> +        if (msr_hv) {
>> +            return ppc64_v3_get_patbe0(cpu);
> 
> This is the only caller, I think you might as well just open-code the
> load here.

It is used in patch 3/3.

Thanks,

C.

Reply via email to