[IA64] remove warning.
authorIsaku Yamahata <yamahata@valinux.co.jp>
Mon, 5 Jan 2009 03:24:58 +0000 (12:24 +0900)
committerIsaku Yamahata <yamahata@valinux.co.jp>
Mon, 5 Jan 2009 03:24:58 +0000 (12:24 +0900)
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>
xen/arch/ia64/xen/hypercall.c
xen/include/asm-ia64/vmx.h

index f727729746357d6d8e1a5edec95db1c23c73dd6b..c0cb0053440297e7d36459cc12b6861fb0c76a15 100644 (file)
@@ -17,6 +17,7 @@
 #include <asm/sal.h>   /* FOR struct ia64_sal_retval */
 #include <asm/fpswa.h> /* FOR struct fpswa_ret_t */
 
+#include <asm/vmx.h>
 #include <asm/vmx_vcpu.h>
 #include <asm/vcpu.h>
 #include <asm/dom_fw.h>
index 6b001a8677425a62888574a3b38e1b1c6c099cca..29386cfcbf7dcbe87803db7407a6671da64e98df 100644 (file)
@@ -23,6 +23,8 @@
 #define _ASM_IA64_VT_H
 
 #include <public/hvm/ioreq.h>
+#include <asm/ia64_int.h>
+
 #define vmx_user_mode(regs) (((struct ia64_psr *)&(regs)->cr_ipsr)->vm == 1)
 
 #define VCPU_LID(v) (((u64)(v)->vcpu_id)<<24)
@@ -36,7 +38,7 @@ extern void vmx_load_state(struct vcpu *v);
 extern int vmx_setup_platform(struct domain *d);
 extern void vmx_do_resume(struct vcpu *v);
 extern void vmx_io_assist(struct vcpu *v);
-extern int ia64_hypercall (struct pt_regs *regs);
+extern IA64FAULT ia64_hypercall (struct pt_regs *regs);
 extern unsigned long __gpfn_to_mfn_foreign(struct domain *d, unsigned long gpfn);
 extern void set_privileged_operation_isr (struct vcpu *vcpu,int inst);
 extern void set_rsv_reg_field_isr (struct vcpu *vcpu);