ia64/xen-unstable

changeset 5935:55a5ad2f028d

dom_mem_ops address_bitsd fix.
author kaf24@firebug.cl.cam.ac.uk
date Fri Jul 29 11:21:39 2005 +0000 (2005-07-29)
parents 0e2461cdbad1
children b53a65034532 ac7176771024 f7abc6205e22
files xen/common/dom_mem_ops.c
line diff
     1.1 --- a/xen/common/dom_mem_ops.c	Fri Jul 29 10:40:39 2005 +0000
     1.2 +++ b/xen/common/dom_mem_ops.c	Fri Jul 29 11:21:39 2005 +0000
     1.3 @@ -140,7 +140,7 @@ do_dom_mem_op(unsigned long  op,
     1.4      op           &= (1 << START_EXTENT_SHIFT) - 1;
     1.5  
     1.6      /* seperate extent_order and address_bits_order */
     1.7 -    address_bits_order = (extent_order >> 1) & 0xff;
     1.8 +    address_bits_order = (extent_order >> 8) & 0xff;
     1.9      extent_order &= 0xff;
    1.10  
    1.11      if ( unlikely(start_extent > nr_extents) )