mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
cpus: add one 'const'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
af2960f942
commit
26a823305d
1 changed files with 1 additions and 1 deletions
2
cpus.c
2
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue