ia64/xen-unstable

changeset 5245:0d0d1ee9a48c

bitkeeper revision 1.1621 (429cd9bcA05F-_kvHhepys2ZfsrX8Q)

mm debug cleanup.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue May 31 21:40:12 2005 +0000 (2005-05-31)
parents 9c8495b33e75
children 2c827745787d
files xen/arch/x86/mm.c
line diff
     1.1 --- a/xen/arch/x86/mm.c	Tue May 31 21:34:23 2005 +0000
     1.2 +++ b/xen/arch/x86/mm.c	Tue May 31 21:40:12 2005 +0000
     1.3 @@ -962,7 +962,8 @@ static inline int update_l1e(l1_pgentry_
     1.4      if ( unlikely(cmpxchg_user(pl1e, o, n) != 0) ||
     1.5           unlikely(o != l1e_get_value(ol1e)) )
     1.6      {
     1.7 -        MEM_LOG("Failed to update %" PRIpte " -> %" PRIpte ": saw %" PRIpte "\n",
     1.8 +        MEM_LOG("Failed to update %" PRIpte " -> %" PRIpte
     1.9 +                ": saw %" PRIpte "\n",
    1.10                  l1e_get_value(ol1e),
    1.11                  l1e_get_value(nl1e),
    1.12                  o);
    1.13 @@ -988,8 +989,8 @@ static int mod_l1_entry(l1_pgentry_t *pl
    1.14      {
    1.15          if ( unlikely(l1e_get_flags(nl1e) & L1_DISALLOW_MASK) )
    1.16          {
    1.17 -            MEM_LOG("Bad L1 type settings %" PRIpte "\n", 
    1.18 -                    (l1e_get_value(nl1e) & L1_DISALLOW_MASK));
    1.19 +            MEM_LOG("Bad L1 flags %x\n",
    1.20 +                    l1e_get_flags(nl1e) & L1_DISALLOW_MASK);
    1.21              return 0;
    1.22          }
    1.23  
    1.24 @@ -1049,8 +1050,8 @@ static int mod_l2_entry(l2_pgentry_t *pl
    1.25      {
    1.26          if ( unlikely(l2e_get_flags(nl2e) & L2_DISALLOW_MASK) )
    1.27          {
    1.28 -            MEM_LOG("Bad L2 type settings %" PRIpte "\n", 
    1.29 -                    (l2e_get_value(nl2e) & L2_DISALLOW_MASK));
    1.30 +            MEM_LOG("Bad L2 flags %x\n",
    1.31 +                    l2e_get_flags(nl2e) & L2_DISALLOW_MASK);
    1.32              return 0;
    1.33          }
    1.34  
    1.35 @@ -1104,8 +1105,8 @@ static int mod_l3_entry(l3_pgentry_t *pl
    1.36      {
    1.37          if ( unlikely(l3e_get_flags(nl3e) & L3_DISALLOW_MASK) )
    1.38          {
    1.39 -            MEM_LOG("Bad L3 type settings %" PRIpte "", 
    1.40 -                    (u64)(l3e_get_value(nl3e) & L3_DISALLOW_MASK));
    1.41 +            MEM_LOG("Bad L3 flags %x\n",
    1.42 +                    l3e_get_flags(nl3e) & L3_DISALLOW_MASK);
    1.43              return 0;
    1.44          }
    1.45  
    1.46 @@ -1161,8 +1162,8 @@ static int mod_l4_entry(l4_pgentry_t *pl
    1.47      {
    1.48          if ( unlikely(l4e_get_flags(nl4e) & L4_DISALLOW_MASK) )
    1.49          {
    1.50 -            MEM_LOG("Bad L4 type settings %lx", 
    1.51 -                    l4e_get_value(nl4e) & L4_DISALLOW_MASK);
    1.52 +            MEM_LOG("Bad L4 flags %x\n",
    1.53 +                    l4e_get_flags(nl4e) & L4_DISALLOW_MASK);
    1.54              return 0;
    1.55          }
    1.56