powerpc/machdep: Drop include of dma-mapping.h
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 9 Oct 2024 05:18:26 +0000 (16:18 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 29 Oct 2024 12:01:05 +0000 (23:01 +1100)
commitb23b9edf64b6387334aa2f8687cca6792b0d9d6c
tree28f24037fafd05f3e390111f28f9dcd3289a491b
parent3c9670df7f7e871f0d2c2208d2ce79f6cfbca0f6
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
arch/powerpc/include/asm/machdep.h
arch/powerpc/kernel/sysfs.c
arch/powerpc/platforms/pseries/svm.c
drivers/cpuidle/cpuidle-pseries.c