mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-10-15 15:32:51 +00:00
cpus: add one 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
af2960f942
commit
26a823305d
2
cpus.c
2
cpus.c
|
@ -147,7 +147,7 @@ static int io_thread_fd = -1;
|
||||||
static void qemu_event_increment(void)
|
static void qemu_event_increment(void)
|
||||||
{
|
{
|
||||||
/* Write 8 bytes to be compatible with eventfd. */
|
/* Write 8 bytes to be compatible with eventfd. */
|
||||||
static uint64_t val = 1;
|
static const uint64_t val = 1;
|
||||||
ssize_t ret;
|
ssize_t ret;
|
||||||
|
|
||||||
if (io_thread_fd == -1)
|
if (io_thread_fd == -1)
|
||||||
|
|
Loading…
Reference in a new issue