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

[Xen-changelog] [xen-unstable] x86: Enable spinlock debugging earlier during boot.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1224772732 -3600
# Node ID 874d0d673ecb55749cdc836942222ba684b365cb
# Parent  d1ecee02cced6a60c2ce3c4a6930532bf3ac3f4a
x86: Enable spinlock debugging earlier during boot.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/setup.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -r d1ecee02cced -r 874d0d673ecb xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c      Thu Oct 23 15:38:27 2008 +0100
+++ b/xen/arch/x86/setup.c      Thu Oct 23 15:38:52 2008 +0100
@@ -969,6 +969,7 @@ void __init __start_xen(unsigned long mb
     serial_init_postirq();
 
     BUG_ON(!local_irq_is_enabled());
+    spin_debug_enable();
 
     for_each_present_cpu ( i )
     {
@@ -1059,8 +1060,6 @@ void __init __start_xen(unsigned long mb
                         cmdline) != 0)
         panic("Could not set up DOM0 guest OS\n");
 
-    spin_debug_enable();
-
     /* Scrub RAM that is still free and so may go to an unprivileged domain. */
     scrub_heap_pages();
 

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