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-ppc-devel

[XenPPC] [pushed] [ppc] do not touch the mpic if you are not Dom0

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [pushed] [ppc] do not touch the mpic if you are not Dom0
From: jimix@xxxxxxxxxxxxxx
Date: Mon, 15 May 2006 17:50:35 -0400
Delivery-date: Mon, 15 May 2006 14:48:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [pushed] [ppc] do not touch the mpic if you are not Dom0, jimix <=