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] remove extra debuging code

changeset:   9663:cdf8ac2329d1
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Wed Mar 29 12:22:26 2006 -0500
summary:     [ppc] remove extra debuging code

diff -r 9dfaf9405ad6 -r cdf8ac2329d1 xen/arch/ppc/iommu_u3.c
--- a/xen/arch/ppc/iommu_u3.c   Wed Mar 29 12:21:15 2006 -0500
+++ b/xen/arch/ppc/iommu_u3.c   Wed Mar 29 12:22:26 2006 -0500
@@ -50,7 +50,6 @@ static int first_put = 0;
 #endif
 
 static u32 *dart_table;
-ulong dummy_page1;
 static ulong dummy_page;
 static u32 *dart_ctl_reg;
 
@@ -170,13 +169,8 @@ static int init_u3(void)
 
     /* Linux uses a dummy page, filling "empty" DART entries with a
        reference to this page to capture stray DMA's */
-    dummy_page1 = (ulong)alloc_xenheap_pages(1) >> PAGE_SHIFT;
-    memset((void *)(dummy_page1 << PAGE_SHIFT), 0, 1 << PAGE_SHIFT);
-    printk("dummy1: 0x%lx\n", dummy_page1);
-
     dummy_page = (ulong)alloc_xenheap_pages(1) >> PAGE_SHIFT;
     memset((void *)(dummy_page << PAGE_SHIFT), 0, 1 << PAGE_SHIFT);
-    printk("dummy2: 0x%lx\n", dummy_page);
 
 #ifdef DARB_EXAMPLE
     if (0) {



_______________________________________________
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] remove extra debuging code, jimix <=