direct-io.hg

changeset 63:9ad56dbe65c3

bitkeeper revision 1.7.3.38 (3e02efd8iiP2XGx08gGVDxmSe0TAjQ)

debug
author lynx@idefix.cl.cam.ac.uk
date Fri Dec 20 10:24:24 2002 +0000 (2002-12-20)
parents aa76c4032ea1
children 0404a26ceafb
files xenolinux-2.4.16-sparse/arch/xeno/mm/get_unmapped_area.c
line diff
     1.1 --- a/xenolinux-2.4.16-sparse/arch/xeno/mm/get_unmapped_area.c	Thu Dec 19 13:51:13 2002 +0000
     1.2 +++ b/xenolinux-2.4.16-sparse/arch/xeno/mm/get_unmapped_area.c	Fri Dec 20 10:24:24 2002 +0000
     1.3 @@ -63,8 +63,13 @@ unsigned long arch_get_unmapped_area(str
     1.4           * is not available. this is the only difference to generic
     1.5           * arch_get_unmapped_area. 
     1.6           */
     1.7 -		if ((!vma || addr + len <= vma->vm_start) && !direct_mapped(addr))
     1.8 +		printk(KERN_ALERT "bd240 debug: gua: vm addr found %lx\n", addr);
     1.9 +		if ((!vma || addr + len <= vma->vm_start) && !direct_mapped(addr)){
    1.10 +			printk(KERN_ALERT "bd240 debug: gua: first condition %d\n", !vma || addr + len =< vma->vm-start);
    1.11 +			printk(KERN_ALERT "bd240 debug: gua: second condition %d\n", direct_mapped(addr));
    1.12 +
    1.13  			return addr;
    1.14 +		}
    1.15  		
    1.16          addr = vma->vm_end;
    1.17  	}