projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af2960f
)
cpus: add one 'const'
author
Blue Swirl
<blauwirbel@gmail.com>
Fri, 14 May 2010 19:32:21 +0000
(19:32 +0000)
committer
Blue Swirl
<blauwirbel@gmail.com>
Fri, 14 May 2010 19:32:21 +0000
(19:32 +0000)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
cpus.c
patch
|
blob
|
history
diff --git
a/cpus.c
b/cpus.c
index
826886c
..
8341f6c
100644
(file)
--- 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)