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

[Xen-changelog] [xen-unstable] [IA64] Compilation fix with CRASH_DEBUG defined.



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1179162804 21600
# Node ID c0de8feef4cda1cfe6bd926f8b9adbc1fbc8589b
# Parent  4ca4374eabd530ad5c71b98bdafd958410f062e5
[IA64] Compilation fix with CRASH_DEBUG defined.

Update for guest_mode()

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 xen/arch/ia64/vmx/vmx_process.c |    2 +-
 xen/arch/ia64/xen/faults.c      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r 4ca4374eabd5 -r c0de8feef4cd xen/arch/ia64/vmx/vmx_process.c
--- a/xen/arch/ia64/vmx/vmx_process.c   Fri May 11 13:15:53 2007 -0600
+++ b/xen/arch/ia64/vmx/vmx_process.c   Mon May 14 11:13:24 2007 -0600
@@ -153,7 +153,7 @@ vmx_ia64_handle_break (unsigned long ifa
 
     perfc_incr(vmx_ia64_handle_break);
 #ifdef CRASH_DEBUG
-    if ((iim == 0 || iim == CDB_BREAK_NUM) && !user_mode(regs) &&
+    if ((iim == 0 || iim == CDB_BREAK_NUM) && !guest_mode(regs) &&
         IS_VMM_ADDRESS(regs->cr_iip)) {
         if (iim == 0)
             show_registers(regs);
diff -r 4ca4374eabd5 -r c0de8feef4cd xen/arch/ia64/xen/faults.c
--- a/xen/arch/ia64/xen/faults.c        Fri May 11 13:15:53 2007 -0600
+++ b/xen/arch/ia64/xen/faults.c        Mon May 14 11:13:24 2007 -0600
@@ -507,7 +507,7 @@ ia64_handle_break(unsigned long ifa, str
                do_ssc(vcpu_get_gr(current, 36), regs);
        }
 #ifdef CRASH_DEBUG
-       else if ((iim == 0 || iim == CDB_BREAK_NUM) && !user_mode(regs)) {
+       else if ((iim == 0 || iim == CDB_BREAK_NUM) && !guest_mode(regs)) {
                if (iim == 0)
                        show_registers(regs);
                debugger_trap_fatal(0 /* don't care */ , regs);

_______________________________________________
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®.