diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2018-03-08 03:54:42 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-03-13 13:43:04 +0100 |
commit | ab83dc794c9d8870e4844cca9a2945b782b8ee7e (patch) | |
tree | b3f426ec7cebfcfb699356b4e4688705e7de3c49 /arch/powerpc/include/asm | |
parent | powerpc: Rename plapr routines to plpar (diff) | |
download | linux-ab83dc794c9d8870e4844cca9a2945b782b8ee7e.tar.xz linux-ab83dc794c9d8870e4844cca9a2945b782b8ee7e.zip |
powerpc/xmon: Move empty plpar_set_ciabr() into plpar_wrappers.h
Now that plpar_wrappers.h has an #ifdef PSERIES we can move the empty
version of plpar_set_ciabr() which xmon wants into there.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm')
-rw-r--r-- | arch/powerpc/include/asm/plpar_wrappers.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/plpar_wrappers.h b/arch/powerpc/include/asm/plpar_wrappers.h index 9233b84f489a..96c1a46acbd0 100644 --- a/arch/powerpc/include/asm/plpar_wrappers.h +++ b/arch/powerpc/include/asm/plpar_wrappers.h @@ -334,6 +334,12 @@ static inline long plpar_get_cpu_characteristics(struct h_cpu_char_result *p) return rc; } +#else /* !CONFIG_PPC_PSERIES */ + +static inline long plpar_set_ciabr(unsigned long ciabr) +{ + return 0; +} #endif /* CONFIG_PPC_PSERIES */ #endif /* _ASM_POWERPC_PLPAR_WRAPPERS_H */ |