aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-05-14 19:32:21 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-05-14 19:32:21 +0000
commit26a823305d7fdf369453a8caf5efdd467acddc8c (patch)
tree6b05d3595e644736f8ce6162fd80f088c6f175b9
parentaf2960f942577a0d48f7368ca90fbaa783e77ac3 (diff)
cpus: add one 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--cpus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpus.c b/cpus.c
index 826886cbb..8341f6c20 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)