ia64/xen-unstable

changeset 18953:ecdc570407ec

[IA64] remove warning.

This patch removes the following warning.
> hypercall.c:205: warning: implicit declaration of function 'vmx_lazy_load_fpu'

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon Jan 05 12:24:58 2009 +0900 (2009-01-05)
parents 07f26e047fbf
children 4422219acd93
files xen/arch/ia64/xen/hypercall.c xen/include/asm-ia64/vmx.h
line diff
     1.1 --- a/xen/arch/ia64/xen/hypercall.c	Wed Dec 24 12:52:34 2008 +0900
     1.2 +++ b/xen/arch/ia64/xen/hypercall.c	Mon Jan 05 12:24:58 2009 +0900
     1.3 @@ -17,6 +17,7 @@
     1.4  #include <asm/sal.h>	/* FOR struct ia64_sal_retval */
     1.5  #include <asm/fpswa.h>	/* FOR struct fpswa_ret_t */
     1.6  
     1.7 +#include <asm/vmx.h>
     1.8  #include <asm/vmx_vcpu.h>
     1.9  #include <asm/vcpu.h>
    1.10  #include <asm/dom_fw.h>
     2.1 --- a/xen/include/asm-ia64/vmx.h	Wed Dec 24 12:52:34 2008 +0900
     2.2 +++ b/xen/include/asm-ia64/vmx.h	Mon Jan 05 12:24:58 2009 +0900
     2.3 @@ -23,6 +23,8 @@
     2.4  #define _ASM_IA64_VT_H
     2.5  
     2.6  #include <public/hvm/ioreq.h>
     2.7 +#include <asm/ia64_int.h>
     2.8 +
     2.9  #define vmx_user_mode(regs) (((struct ia64_psr *)&(regs)->cr_ipsr)->vm == 1)
    2.10  
    2.11  #define VCPU_LID(v) (((u64)(v)->vcpu_id)<<24)
    2.12 @@ -36,7 +38,7 @@ extern void vmx_load_state(struct vcpu *
    2.13  extern int vmx_setup_platform(struct domain *d);
    2.14  extern void vmx_do_resume(struct vcpu *v);
    2.15  extern void vmx_io_assist(struct vcpu *v);
    2.16 -extern int ia64_hypercall (struct pt_regs *regs);
    2.17 +extern IA64FAULT ia64_hypercall (struct pt_regs *regs);
    2.18  extern unsigned long __gpfn_to_mfn_foreign(struct domain *d, unsigned long gpfn);
    2.19  extern void set_privileged_operation_isr (struct vcpu *vcpu,int inst);
    2.20  extern void set_rsv_reg_field_isr (struct vcpu *vcpu);