Commit 747f2925 authored by Glauber Costa's avatar Glauber Costa Committed by Avi Kivity

ia64: add jump labels for paravirt

Since in a later patch I intend to call jump labels inside
CONFIG_PARAVIRT, IA64 would fail to compile if they are not
provided. This patch provides those jump labels for the IA64
architecture.
Signed-off-by: default avatarGlauber Costa <glommer@redhat.com>
Acked-by: default avatarIsaku Yamahata <yamahata@valinux.co.jp>
Acked-by: default avatarRik van Riel <riel@redhat.com>
CC: Tony Luck <tony.luck@intel.com>
CC: Eddie Dong <eddie.dong@intel.com>
CC: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
CC: Peter Zijlstra <peterz@infradead.org>
CC: Anthony Liguori <aliguori@us.ibm.com>
CC: Eric B Munson <emunson@mgebm.net>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 3c404b57
...@@ -281,6 +281,10 @@ paravirt_init_missing_ticks_accounting(int cpu) ...@@ -281,6 +281,10 @@ paravirt_init_missing_ticks_accounting(int cpu)
pv_time_ops.init_missing_ticks_accounting(cpu); pv_time_ops.init_missing_ticks_accounting(cpu);
} }
struct jump_label_key;
extern struct jump_label_key paravirt_steal_enabled;
extern struct jump_label_key paravirt_steal_rq_enabled;
static inline int static inline int
paravirt_do_steal_accounting(unsigned long *new_itm) paravirt_do_steal_accounting(unsigned long *new_itm)
{ {
......
...@@ -634,6 +634,8 @@ struct pv_irq_ops pv_irq_ops = { ...@@ -634,6 +634,8 @@ struct pv_irq_ops pv_irq_ops = {
* pv_time_ops * pv_time_ops
* time operations * time operations
*/ */
struct jump_label_key paravirt_steal_enabled;
struct jump_label_key paravirt_steal_rq_enabled;
static int static int
ia64_native_do_steal_accounting(unsigned long *new_itm) ia64_native_do_steal_accounting(unsigned long *new_itm)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment