]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: remove orphan declarations from mmu_context.h
authorGaosheng Cui <cuigaosheng1@huawei.com>
Tue, 13 Sep 2022 07:50:25 +0000 (15:50 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 15 Sep 2022 12:55:46 +0000 (22:55 +1000)
commitcb1784fbb670dd2e87b03c89201d71d63ef68b3e
treebead2223cf1555f330ff1093a1343ec7429ac1d7
parent6e00987378914c4f053a6b8418f93680a8443005
powerpc/mm: remove orphan declarations from mmu_context.h

Remove the following orphan declarations from mmu_context.h:
1. switch_cop() and drop_cop() have been removed since
commit b33116c626ea ("powerpc: Remove old unused icswx
based coprocessor support").

2. mm_iommu_cleanup() has been removed since
commit 0d10cd693202 ("powerpc/mm/iommu, vfio/spapr: Put
pages on VFIO container shutdown").

So remove the declarations for them from header file.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220913075029.682327-6-cuigaosheng1@huawei.com
arch/powerpc/include/asm/mmu_context.h