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

[XenPPC] [pushed] [ppc] allow for verbose debugging



changeset:   27809:ade77a1efc24855f5f76e0840e10605113bdfdae
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Fri May 19 10:36:07 2006 -0400
files:       arch/powerpc/platforms/xen/evtchn.c
description:
[ppc] allow for verbose debugging


diff -r 0163968f7fce161f427479ec6ffed893ed6ee01e -r 
ade77a1efc24855f5f76e0840e10605113bdfdae arch/powerpc/platforms/xen/evtchn.c
--- a/arch/powerpc/platforms/xen/evtchn.c       Tue May 16 15:55:19 2006 -0400
+++ b/arch/powerpc/platforms/xen/evtchn.c       Fri May 19 10:36:07 2006 -0400
@@ -1,8 +1,18 @@
+
+#define DEBUG
 
 #include <linux/module.h>
 #include <xen/evtchn.h>
 #include <asm/mpic.h>
 #include <asm/machdep.h>
+#include <asm/of_device.h>
+#include <asm/udbg.h>
+
+#ifdef DEBUG
+#define DBG(fmt...) udbg_printf(fmt)
+#else
+#define DBG(fmt...)
+#endif
 
 /*
  * We are currently letting Dom0 control the mpic. However, Xen will



_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.