Exemplo n.º 1
0
static inline ktime_t hrtimer_update_base(struct hrtimer_cpu_base *base)
{
	ktime_t *offs_real = &base->clock_base[HRTIMER_BASE_REALTIME].offset;
	ktime_t *offs_boot = &base->clock_base[HRTIMER_BASE_BOOTTIME].offset;

	return ktime_get_update_offsets(offs_real, offs_boot);
}
Exemplo n.º 2
0
static inline ktime_t hrtimer_update_base(struct hrtimer_cpu_base *base)
{
    ktime_t *offs_real = &base->clock_base[CLOCK_REALTIME].offset;

    return ktime_get_update_offsets(offs_real);
}