]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: arm64: Make kvm_pgtable_stage2_init() a static inline function
authorQuentin Perret <qperret@google.com>
Wed, 18 Dec 2024 19:40:48 +0000 (19:40 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 20 Dec 2024 09:44:00 +0000 (09:44 +0000)
commitc77e5181fed54b25d489eb7d2ccb5c1c72a1063c
treebc96ea486c2267902d94d1c08993b14203638bd9
parente279c25d78d6729e39a0221c98185bd0e7aa0c99
KVM: arm64: Make kvm_pgtable_stage2_init() a static inline function

Turn kvm_pgtable_stage2_init() into a static inline function instead of
a macro. This will allow the usage of typeof() on it later on.

Tested-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Quentin Perret <qperret@google.com>
Link: https://lore.kernel.org/r/20241218194059.3670226-8-qperret@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_pgtable.h