From 3e67fc1ca8bd48017c1ebdbc40751c4ce86b0a29 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Mon, 5 Jan 2009 12:24:58 +0900 Subject: [PATCH] [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 --- xen/arch/ia64/xen/hypercall.c | 1 + xen/include/asm-ia64/vmx.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/xen/arch/ia64/xen/hypercall.c b/xen/arch/ia64/xen/hypercall.c index f727729746..c0cb005344 100644 --- a/xen/arch/ia64/xen/hypercall.c +++ b/xen/arch/ia64/xen/hypercall.c @@ -17,6 +17,7 @@ #include /* FOR struct ia64_sal_retval */ #include /* FOR struct fpswa_ret_t */ +#include #include #include #include diff --git a/xen/include/asm-ia64/vmx.h b/xen/include/asm-ia64/vmx.h index 6b001a8677..29386cfcbf 100644 --- a/xen/include/asm-ia64/vmx.h +++ b/xen/include/asm-ia64/vmx.h @@ -23,6 +23,8 @@ #define _ASM_IA64_VT_H #include +#include + #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); -- 2.30.2