From 26a823305d7fdf369453a8caf5efdd467acddc8c Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Fri, 14 May 2010 19:32:21 +0000 Subject: cpus: add one 'const' Signed-off-by: Blue Swirl --- cpus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpus.c b/cpus.c index 826886c..8341f6c 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) -- cgit v1.1