direct-io.hg

changeset 4513:0af94d69263f

bitkeeper revision 1.1291 (425ba989Nj6H2qCh4WiBC1ZfKP7ZKg)

Turn off grant table debugging output
author mafetter@fleming.research
date Tue Apr 12 10:57:13 2005 +0000 (2005-04-12)
parents 97a657e8eddb
children 9cd7410879ef 55d679bc8c5d
files xen/common/grant_table.c
line diff
     1.1 --- a/xen/common/grant_table.c	Tue Apr 12 10:17:10 2005 +0000
     1.2 +++ b/xen/common/grant_table.c	Tue Apr 12 10:57:13 2005 +0000
     1.3 @@ -388,7 +388,7 @@ 0) )
     1.4          handle = get_maptrack_handle(ld->grant_table);
     1.5      }
     1.6  
     1.7 -#ifdef GRANT_DEBUG_VERBOSE
     1.8 +#if GRANT_DEBUG_VERBOSE
     1.9      DPRINTK("Mapping grant ref (%hu) for domain (%hu) with flags (%x)\n",
    1.10              ref, dom, dev_hst_ro_flags);
    1.11  #endif
    1.12 @@ -499,7 +499,7 @@ static int
    1.13          (void)__put_user(GNTST_bad_domain, &uop->status);
    1.14          return GNTST_bad_domain;
    1.15      }
    1.16 -#ifdef GRANT_DEBUG_VERBOSE
    1.17 +#if GRANT_DEBUG_VERBOSE
    1.18      DPRINTK("Unmapping grant ref (%hu) for domain (%hu) with handle (%hu)\n",
    1.19              ref, dom, handle);
    1.20  #endif
    1.21 @@ -703,7 +703,7 @@ gnttab_setup_table(
    1.22      return 0;
    1.23  }
    1.24  
    1.25 -#ifdef GRANT_DEBUG
    1.26 +#if GRANT_DEBUG
    1.27  static int
    1.28  gnttab_dump_table(gnttab_dump_table_t *uop)
    1.29  {
    1.30 @@ -821,7 +821,7 @@ do_grant_table_op(
    1.31      case GNTTABOP_setup_table:
    1.32          rc = gnttab_setup_table((gnttab_setup_table_t *)uop, count);
    1.33          break;
    1.34 -#ifdef GRANT_DEBUG
    1.35 +#if GRANT_DEBUG
    1.36      case GNTTABOP_dump_table:
    1.37          rc = gnttab_dump_table((gnttab_dump_table_t *)uop);
    1.38          break;
    1.39 @@ -860,7 +860,7 @@ gnttab_check_unmap(
    1.40  
    1.41      lgt = ld->grant_table;
    1.42  
    1.43 -#ifdef GRANT_DEBUG_VERBOSE
    1.44 +#if GRANT_DEBUG_VERBOSE
    1.45      if ( ld->id != 0 )
    1.46      {
    1.47          DPRINTK("Foreign unref rd(%d) ld(%d) frm(%x) flgs(%x).\n",