@@ -1798,13 +1798,13 @@ int kvm_set_irq(int irq, int level, int *status)
#endif
-void kvm_mutex_unlock(void)
+static void kvm_mutex_unlock(void)
{
assert(!cpu_single_env);
pthread_mutex_unlock(&qemu_mutex);
}
-void kvm_mutex_lock(void)
+static void kvm_mutex_lock(void)
{
pthread_mutex_lock(&qemu_mutex);
cpu_single_env = NULL;
@@ -893,9 +893,6 @@ int handle_tpr_access(void *opaque, CPUState *env, uint64_t rip,
#define qemu_kvm_cpu_stop(env) do {} while(0)
#endif
-void kvm_mutex_unlock(void);
-void kvm_mutex_lock(void);
-
#ifdef CONFIG_KVM
typedef struct KVMSlot {