cpus: add one 'const'

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2010-05-14 19:32:21 +00:00
parent af2960f942
commit 26a823305d
1 changed files with 1 additions and 1 deletions

2
cpus.c
View File

@ -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)