forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-24 2b26ab132d1b33b91c84c6d732456200e8c5ee77
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 */ \