hc
2023-11-06 15ade055295d13f95d49e3d99b09f3bbfb4a43e7
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 */ \