kernel/arch/arm64/include/asm/alternative.h
.. .. @@ -35,6 +35,12 @@ 35 35 static inline void apply_alternatives_module(void *start, size_t length) { } 36 36 #endif 37 37 38 +#ifdef CONFIG_KVM_ARM_HOST39 +void kvm_compute_layout(void);40 +#else41 +static inline void kvm_compute_layout(void) { }42 +#endif43 +38 44 #define ALTINSTR_ENTRY(feature) \ 39 45 " .word 661b - .\n" /* label */ \ 40 46 " .word 663f - .\n" /* new instruction */ \