block_domain() does not actually use the value returned by gettimeofday.
Fix indent in monotonic_clock() along the way.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
local_time_version = shadow.version;
rmb();
time = shadow.system_timestamp + get_nsec_offset();
- if (!time_values_up_to_date())
+ if (!time_values_up_to_date())
get_time_values_from_xen();
rmb();
} while (local_time_version != shadow.version);
void block_domain(s_time_t until)
{
- struct timeval tv;
- gettimeofday(&tv, NULL);
ASSERT(irqs_disabled());
if(monotonic_clock() < until)
{