diff options
Diffstat (limited to 'arch/ia64/xen')
-rw-r--r-- | arch/ia64/xen/xen_pv_ops.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/ia64/xen/xen_pv_ops.c b/arch/ia64/xen/xen_pv_ops.c index bf3c74cb150f..5e2270a999fa 100644 --- a/arch/ia64/xen/xen_pv_ops.c +++ b/arch/ia64/xen/xen_pv_ops.c | |||
@@ -416,6 +416,11 @@ xen_intrin_local_irq_restore(unsigned long mask) | |||
416 | xen_ ## name (unsigned long arg); \ | 416 | xen_ ## name (unsigned long arg); \ |
417 | __DEFINE_FUNC(name, code) | 417 | __DEFINE_FUNC(name, code) |
418 | 418 | ||
419 | #define DEFINE_VOID_FUNC1_VOID(name, code) \ | ||
420 | extern void \ | ||
421 | xen_ ## name (void *arg); \ | ||
422 | __DEFINE_FUNC(name, code) | ||
423 | |||
419 | #define DEFINE_VOID_FUNC2(name, code) \ | 424 | #define DEFINE_VOID_FUNC2(name, code) \ |
420 | extern void \ | 425 | extern void \ |
421 | xen_ ## name (unsigned long arg0, \ | 426 | xen_ ## name (unsigned long arg0, \ |
@@ -530,8 +535,8 @@ DEFINE_FUNC0(get_itc, | |||
530 | "(p6) hint @pause\n" | 535 | "(p6) hint @pause\n" |
531 | "(p6) br.cond.spnt 888b\n"); | 536 | "(p6) br.cond.spnt 888b\n"); |
532 | 537 | ||
533 | DEFINE_VOID_FUNC1(fc, | 538 | DEFINE_VOID_FUNC1_VOID(fc, |
534 | "break " __stringify(HYPERPRIVOP_FC) "\n"); | 539 | "break " __stringify(HYPERPRIVOP_FC) "\n"); |
535 | 540 | ||
536 | /* | 541 | /* |
537 | * psr_i_addr_addr = XEN_PSR_I_ADDR_ADDR | 542 | * psr_i_addr_addr = XEN_PSR_I_ADDR_ADDR |