diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2023-08-23 07:53:16 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-08-24 14:33:16 +0200 |
commit | 1aa000667669fa855853decbb1c69e974d8ff716 (patch) | |
tree | 0848513bd6c819f1151c08096986ef22a1cd5b93 /arch/powerpc/include/asm/plpar_wrappers.h | |
parent | powerpc/pseries: Move hcall_vphn() prototype into vphn.h (diff) | |
download | linux-1aa000667669fa855853decbb1c69e974d8ff716.tar.xz linux-1aa000667669fa855853decbb1c69e974d8ff716.zip |
powerpc: Don't include lppaca.h in paca.h
By adding a forward declaration for struct lppaca we can untangle paca.h
and lppaca.h. Also move get_lppaca() into lppaca.h for consistency.
Add includes of lppaca.h to some files that need it.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230823055317.751786-3-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/include/asm/plpar_wrappers.h')
-rw-r--r-- | arch/powerpc/include/asm/plpar_wrappers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/plpar_wrappers.h b/arch/powerpc/include/asm/plpar_wrappers.h index 8239c0af5eb2..fe3d0ea0058a 100644 --- a/arch/powerpc/include/asm/plpar_wrappers.h +++ b/arch/powerpc/include/asm/plpar_wrappers.h @@ -9,6 +9,7 @@ #include <asm/hvcall.h> #include <asm/paca.h> +#include <asm/lppaca.h> #include <asm/page.h> static inline long poll_pending(void) |