| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XenPPC] [pushed] [ppc] do not touch the mpic if you are not Dom0
 changeset:   27804:242f83db49e1444b671bfabe07b656f9aca36921
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Mon May 15 17:19:49 2006 -0400
files:       arch/powerpc/platforms/xen/evtchn.c
description:
[ppc] do not touch the mpic if you are not Dom0
diff -r d0fe39d2ae2a874b8967331c32843f70d792a696 -r 
242f83db49e1444b671bfabe07b656f9aca36921 arch/powerpc/platforms/xen/evtchn.c
--- a/arch/powerpc/platforms/xen/evtchn.c       Mon May 15 17:19:06 2006 -0400
+++ b/arch/powerpc/platforms/xen/evtchn.c       Mon May 15 17:19:49 2006 -0400
@@ -75,6 +75,10 @@ void xen_init_IRQ(void)
        struct mpic *mpic;
 
        evtchn_init_IRQ();
+
+       if (!(xen_start_info->flags & SIF_INITDOMAIN))
+               return;
+
        xen_pirq = irq_desc[0].handler;
        mach_maple_md.init_IRQ();
 
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |