powerpc: Rename plapr routines to plpar
Back in 2013 we added some hypercall wrappers which misspelled "plpar" (P-series Logical PARtition) as "plapr". Visually they're hard to distinguish and it almost doesn't matter, but it is confusing when grepping to miss some calls because of the typo. They've also started spreading, so before they take over let's fix them all to be "plpar". Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Cette révision appartient à :
@@ -739,7 +739,7 @@ static int pseries_set_dawr(unsigned long dawr, unsigned long dawrx)
|
||||
/* PAPR says we can't set HYP */
|
||||
dawrx &= ~DAWRX_HYP;
|
||||
|
||||
return plapr_set_watchpoint0(dawr, dawrx);
|
||||
return plpar_set_watchpoint0(dawr, dawrx);
|
||||
}
|
||||
|
||||
#define CMO_CHARACTERISTICS_TOKEN 44
|
||||
|
@@ -215,7 +215,7 @@ static int pseries_cause_nmi_ipi(int cpu)
|
||||
hwcpu = get_hard_smp_processor_id(cpu);
|
||||
}
|
||||
|
||||
if (plapr_signal_sys_reset(hwcpu) == H_SUCCESS)
|
||||
if (plpar_signal_sys_reset(hwcpu) == H_SUCCESS)
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur