]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Include asm/firmware.h in all users of firmware_has_feature()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 6 May 2022 09:14:24 +0000 (11:14 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 29 Jun 2022 06:45:05 +0000 (16:45 +1000)
commitf1184ff81a22484e8e8c5efd42a9ebed41db30cc
tree41ef1771978f2490d373f9f2db7e36a2b9cbdaa0
parenta66a0cbbdee90f9d86c87b6b595a557e379f71a0
powerpc: Include asm/firmware.h in all users of firmware_has_feature()

Trying to remove asm/ppc_asm.h from all places that don't need it
leads to several failures linked to firmware_has_feature().

To fix it, include asm/firmware.h in all files using
firmware_has_feature()

All users found with:

git grep -L "firmware\.h" ` git grep -l "firmware_has_feature("`

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/11956ec181a034b51a881ac9c059eea72c679a73.1651828453.git.christophe.leroy@csgroup.eu
14 files changed:
arch/powerpc/include/asm/book3s/64/hugetlb.h
arch/powerpc/include/asm/cputime.h
arch/powerpc/include/asm/interrupt.h
arch/powerpc/include/asm/mman.h
arch/powerpc/include/asm/prom.h
arch/powerpc/kernel/dawr.c
arch/powerpc/kexec/core.c
arch/powerpc/kvm/book3s_64_mmu_radix.c
arch/powerpc/kvm/book3s_hv_nested.c
arch/powerpc/mm/book3s64/hash_pgtable.c
arch/powerpc/mm/book3s64/pkeys.c
arch/powerpc/mm/hugetlbpage.c
arch/powerpc/platforms/pseries/papr_platform_attributes.c
arch/powerpc/platforms/pseries/vas.c