In 64bit builds, setting sival_int to 0 doesn't clear the upper half of the
sival_ptr pointer. Valgrind does not like this.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
static int dynticks_start_timer(struct qemu_alarm_timer *t)
{
- struct sigevent ev;
+ struct sigevent ev = { { 0 } };
timer_t host_timer;
struct sigaction act;
sigaction(SIGALRM, &act, NULL);
- ev.sigev_value.sival_int = 0;
ev.sigev_notify = SIGEV_SIGNAL;
ev.sigev_signo = SIGALRM;