From: Blue Swirl Date: Fri, 14 May 2010 19:32:21 +0000 (+0000) Subject: cpus: add one 'const' X-Git-Tag: v0.13.0-rc0~557 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=26a823305d7fdf369453a8caf5efdd467acddc8c;p=thirdparty%2Fqemu.git cpus: add one 'const' Signed-off-by: Blue Swirl --- diff --git a/cpus.c b/cpus.c index 826886cbb51..8341f6c201b 100644 --- a/cpus.c +++ b/cpus.c @@ -147,7 +147,7 @@ static int io_thread_fd = -1; static void qemu_event_increment(void) { /* Write 8 bytes to be compatible with eventfd. */ - static uint64_t val = 1; + static const uint64_t val = 1; ssize_t ret; if (io_thread_fd == -1)