* [Qemu-devel] [PATCH] cpu: Add missing 'static' attribute to qemu_global_mutex
@ 2012-09-27 5:41 Stefan Weil
2012-10-05 12:11 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2012-09-27 5:41 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, Stefan Weil
Contrary to its name, 'qemu_global_mutex' is only used locally
in cpus.c.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
cpus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpus.c b/cpus.c
index 33da623..348b414 100644
--- a/cpus.c
+++ b/cpus.c
@@ -613,7 +613,7 @@ static void qemu_tcg_init_cpu_signals(void)
}
#endif /* _WIN32 */
-QemuMutex qemu_global_mutex;
+static QemuMutex qemu_global_mutex;
static QemuCond qemu_io_proceeded_cond;
static bool iothread_requesting_mutex;
--
1.7.10
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [Qemu-trivial] [PATCH] cpu: Add missing 'static' attribute to qemu_global_mutex
2012-09-27 5:41 [Qemu-devel] [PATCH] cpu: Add missing 'static' attribute to qemu_global_mutex Stefan Weil
@ 2012-10-05 12:11 ` Stefan Hajnoczi
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2012-10-05 12:11 UTC (permalink / raw)
To: Stefan Weil; +Cc: qemu-trivial, qemu-devel
On Thu, Sep 27, 2012 at 07:41:42AM +0200, Stefan Weil wrote:
> Contrary to its name, 'qemu_global_mutex' is only used locally
> in cpus.c.
>
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
> cpus.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-05 12:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-27 5:41 [Qemu-devel] [PATCH] cpu: Add missing 'static' attribute to qemu_global_mutex Stefan Weil
2012-10-05 12:11 ` [Qemu-devel] [Qemu-trivial] " Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).