diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2024-10-09 16:18:26 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2024-10-29 23:01:05 +1100 |
commit | b23b9edf64b6387334aa2f8687cca6792b0d9d6c (patch) | |
tree | 28f24037fafd05f3e390111f28f9dcd3289a491b /arch/powerpc/platforms | |
parent | 3c9670df7f7e871f0d2c2208d2ce79f6cfbca0f6 (diff) |
powerpc/machdep: Drop include of dma-mapping.h
Drop the include of dma-mapping.h in machdep.h, replace it with forward
declarations of struct device and struct pci_dev, and include time64.h
and page.h which are required for time64_t and pgprot_t respectively.
Add direct includes of some other headers to some files that were
getting them via machdep.h.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://patch.msgid.link/20241009051826.132805-2-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/pseries/svm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/svm.c b/arch/powerpc/platforms/pseries/svm.c index 3b4045d508ec..10b8eb6bff39 100644 --- a/arch/powerpc/platforms/pseries/svm.c +++ b/arch/powerpc/platforms/pseries/svm.c @@ -9,6 +9,7 @@ #include <linux/mm.h> #include <linux/memblock.h> #include <linux/cc_platform.h> +#include <linux/mem_encrypt.h> #include <asm/machdep.h> #include <asm/svm.h> #include <asm/swiotlb.h> |