direct-io.hg

changeset 65:654b3fe81bb9

bitkeeper revision 1.7.3.40 (3e02f57eQHmARiBPgHtT5Xo7zs_hGA)

debug
author lynx@idefix.cl.cam.ac.uk
date Fri Dec 20 10:48:30 2002 +0000 (2002-12-20)
parents 0404a26ceafb
children b5d2cff54653
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	Fri Dec 20 10:34:10 2002 +0000
     1.2 +++ b/xenolinux-2.4.16-sparse/arch/xeno/mm/get_unmapped_area.c	Fri Dec 20 10:48:30 2002 +0000
     1.3 @@ -63,13 +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(current->pid > 100){
     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, %lx, %lx\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 +		}
    1.14 +		if ((!vma || addr + len <= vma->vm_start) && !direct_mapped(addr))
    1.15  			return addr;
    1.16 -		}
    1.17  		
    1.18          addr = vma->vm_end;
    1.19  	}