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

[Xen-ia64-devel] [PATCH] Fix wrong arg to vhpt_enabled() in vmx_hpw_miss()



We have never hit a bug but it is obviously wrong.

Thanks,
Kouya

Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>

diff -r fbc128aafdeb xen/arch/ia64/vmx/vmx_process.c
--- a/xen/arch/ia64/vmx/vmx_process.c   Sun Feb 04 12:24:53 2007 -0700
+++ b/xen/arch/ia64/vmx/vmx_process.c   Tue Feb 06 18:43:42 2007 +0900
@@ -387,7 +387,7 @@ vmx_hpw_miss(u64 vadr , u64 vec, REGS* r
     
         if (!vpsr.ic)
             misr.ni = 1;
-        if(!vhpt_enabled(v, vadr, misr.rs?RSE_REF:DATA_REF)){
+        if(!vhpt_enabled(v, vadr, INST_REF)){
             vcpu_set_isr(v, misr.val);
             alt_itlb(v, vadr);
             return IA64_FAULT;
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

 


Rackspace

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