hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/arch/arm64/include/asm/alternative.h
....@@ -35,6 +35,12 @@
3535 static inline void apply_alternatives_module(void *start, size_t length) { }
3636 #endif
3737
38
+#ifdef CONFIG_KVM_ARM_HOST
39
+void kvm_compute_layout(void);
40
+#else
41
+static inline void kvm_compute_layout(void) { }
42
+#endif
43
+
3844 #define ALTINSTR_ENTRY(feature) \
3945 " .word 661b - .\n" /* label */ \
4046 " .word 663f - .\n" /* new instruction */ \