From: Isaku Yamahata Date: Mon, 5 Jan 2009 03:24:58 +0000 (+0900) Subject: [IA64] remove warning. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14025 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3e67fc1ca8bd48017c1ebdbc40751c4ce86b0a29;p=xen.git [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 --- 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);