diff options
author | Emilio G. Cota <cota@braap.org> | 2016-06-08 14:55:20 -0400 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2016-06-11 22:59:34 +0000 |
commit | ccdb3c1fc8865cf9142235b00e3a8fe3246f2a59 (patch) | |
tree | ebeea9367c34903e86fea644c1d2d7f5c2f134ab /cpus.c | |
parent | 911a4d2215b05267b16925503218f49d607c6b29 (diff) | |
download | qemu-ccdb3c1fc8865cf9142235b00e3a8fe3246f2a59.zip qemu-ccdb3c1fc8865cf9142235b00e3a8fe3246f2a59.tar.gz qemu-ccdb3c1fc8865cf9142235b00e3a8fe3246f2a59.tar.bz2 |
seqlock: remove optional mutex
This option is unused; besides, it bloats the struct when not needed.
Let's just let writers define their own locks elsewhere.
Reviewed-by: Sergey Fedorov <sergey.fedorov@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <1465412133-3029-3-git-send-email-cota@braap.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'cpus.c')
-rw-r--r-- | cpus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -621,7 +621,7 @@ int cpu_throttle_get_percentage(void) void cpu_ticks_init(void) { - seqlock_init(&timers_state.vm_clock_seqlock, NULL); + seqlock_init(&timers_state.vm_clock_seqlock); vmstate_register(NULL, 0, &vmstate_timers, &timers_state); throttle_timer = timer_new_ns(QEMU_CLOCK_VIRTUAL_RT, cpu_throttle_timer_tick, NULL); |