cpu: Add missing 'static' attribute to qemu_global_mutex

Contrary to its name, 'qemu_global_mutex' is only used locally
in cpus.c.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
This commit is contained in:
Stefan Weil 2012-09-27 07:41:42 +02:00 committed by Stefan Hajnoczi
parent afb63ebd0a
commit b2532d88c9

2
cpus.c
View File

@ -613,7 +613,7 @@ static void qemu_tcg_init_cpu_signals(void)
} }
#endif /* _WIN32 */ #endif /* _WIN32 */
QemuMutex qemu_global_mutex; static QemuMutex qemu_global_mutex;
static QemuCond qemu_io_proceeded_cond; static QemuCond qemu_io_proceeded_cond;
static bool iothread_requesting_mutex; static bool iothread_requesting_mutex;