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>
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
#if defined(CONFIG_PPC_SPLPAR)
|
||||
#include <asm/plpar_wrappers.h>
|
||||
#else
|
||||
static inline long plapr_set_ciabr(unsigned long ciabr) {return 0; };
|
||||
static inline long plpar_set_ciabr(unsigned long ciabr) {return 0; };
|
||||
#endif
|
||||
|
||||
#include "nonstdio.h"
|
||||
@@ -328,7 +328,7 @@ static void write_ciabr(unsigned long ciabr)
|
||||
mtspr(SPRN_CIABR, ciabr);
|
||||
return;
|
||||
}
|
||||
plapr_set_ciabr(ciabr);
|
||||
plpar_set_ciabr(ciabr);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user