[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] remove warning.



# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1231125898 -32400
# Node ID ecdc570407ecfa1264c043eecc4a14ffb175579f
# Parent  07f26e047fbfef8d3be9ceb0c878d294fb9d945b
[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@xxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/hypercall.c |    1 +
 xen/include/asm-ia64/vmx.h    |    4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff -r 07f26e047fbf -r ecdc570407ec xen/arch/ia64/xen/hypercall.c
--- a/xen/arch/ia64/xen/hypercall.c     Wed Dec 24 12:52:34 2008 +0900
+++ b/xen/arch/ia64/xen/hypercall.c     Mon Jan 05 12:24:58 2009 +0900
@@ -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>
diff -r 07f26e047fbf -r ecdc570407ec xen/include/asm-ia64/vmx.h
--- a/xen/include/asm-ia64/vmx.h        Wed Dec 24 12:52:34 2008 +0900
+++ b/xen/include/asm-ia64/vmx.h        Mon Jan 05 12:24:58 2009 +0900
@@ -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 int vmx_setup_platform(struct dom
 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);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.