Revision 1db89e91 vl.c

b/vl.c
1055 1055
                           qemu_get_clock(host_clock))) {
1056 1056

  
1057 1057
        t->expired = alarm_has_dynticks(t);
1058

  
1059
#ifndef CONFIG_IOTHREAD
1060
        if (next_cpu) {
1061
            /* stop the currently executing cpu because a timer occured */
1062
            cpu_exit(next_cpu);
1063
        }
1064
#endif
1065 1058
        t->pending = 1;
1066 1059
        qemu_notify_event();
1067 1060
    }
......
3364 3357
    if (env) {
3365 3358
        cpu_exit(env);
3366 3359
    }
3360
    if (next_cpu && env != next_cpu) {
3361
	cpu_exit(next_cpu);
3362
    }
3367 3363
}
3368 3364

  
3369 3365
void qemu_mutex_lock_iothread(void) {}

Also available in: Unified diff