@@ -207,6 +207,11 @@ static inline void paravirt_idle_poll(void)
PVOP_VCALL0(pv_idle_ops.poll);
}
+static inline void paravirt_idle_update_poll_duration(unsigned long duration)
+{
+ PVOP_VCALL1(pv_idle_ops.update, duration);
+}
+
static inline void paravirt_alloc_ldt(struct desc_struct *ldt, unsigned entries)
{
PVOP_VCALL2(pv_cpu_ops.alloc_ldt, ldt, entries);
@@ -326,6 +326,7 @@ struct pv_lock_ops {
struct pv_idle_ops {
void (*poll)(void);
+ void (*update)(unsigned long);
} __no_randomize_layout;
/* This contains all the paravirt structures: we get a convenient
@@ -315,6 +315,7 @@ struct pv_time_ops pv_time_ops = {
struct pv_idle_ops pv_idle_ops = {
.poll = paravirt_nop,
+ .update = paravirt_nop,
};
__visible struct pv_irq_ops pv_irq_ops = {