WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Compilation fix with CRASH_DEBUG defined.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 04 Jun 2007 03:15:05 -0700
Delivery-date: Mon, 04 Jun 2007 03:30:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] Compilation fix with CRASH_DEBUG defined., Xen patchbot-unstable <=