diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2023-08-23 15:53:16 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-08-24 22:33:16 +1000 |
commit | 1aa000667669fa855853decbb1c69e974d8ff716 (patch) | |
tree | 0848513bd6c819f1151c08096986ef22a1cd5b93 /arch/powerpc/mm/book3s64 | |
parent | 9a6c05fe9a998386a61b5e70ce07d31ec47a01a0 (diff) | |
download | lwn-1aa000667669fa855853decbb1c69e974d8ff716.tar.gz lwn-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/mm/book3s64')
-rw-r--r-- | arch/powerpc/mm/book3s64/slb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/mm/book3s64/slb.c b/arch/powerpc/mm/book3s64/slb.c index 6956f637a38c..f2708c8629a5 100644 --- a/arch/powerpc/mm/book3s64/slb.c +++ b/arch/powerpc/mm/book3s64/slb.c @@ -13,6 +13,7 @@ #include <asm/mmu.h> #include <asm/mmu_context.h> #include <asm/paca.h> +#include <asm/lppaca.h> #include <asm/ppc-opcode.h> #include <asm/cputable.h> #include <asm/cacheflush.h> |