powerpc/32: select HAVE_VIRT_CPU_ACCOUNTING_GEN
authorNicholas Piggin <npiggin@gmail.com>
Sat, 21 Jan 2023 09:58:05 +0000 (19:58 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 10 Feb 2023 11:17:36 +0000 (22:17 +1100)
cputime_t is no longer a type, so VIRT_CPU_ACCOUNTING_GEN does not
have any affect on the type for 32-bit architectures, so there is
no reason it can't be supported.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230121095805.2823731-4-npiggin@gmail.com
arch/powerpc/Kconfig

index b4a58612385398bc2d46bbabe45df274869fb9f7..24e023da4d2eca5e2f3db60004ce47dc4d4b6c78 100644 (file)
@@ -257,6 +257,7 @@ config PPC
        select HAVE_STATIC_CALL                 if PPC32
        select HAVE_SYSCALL_TRACEPOINTS
        select HAVE_VIRT_CPU_ACCOUNTING
+       select HAVE_VIRT_CPU_ACCOUNTING_GEN
        select HUGETLB_PAGE_SIZE_VARIABLE       if PPC_BOOK3S_64 && HUGETLB_PAGE
        select IOMMU_HELPER                     if PPC64
        select IRQ_DOMAIN