ia64/xen-unstable

changeset 80:2e061c5495da

bitkeeper revision 1.7.3.55 (3e101ed7H-32_7y_jVNzKUArrU5xeA)

direct_mmap fix
author lynx@idefix.cl.cam.ac.uk
date Mon Dec 30 10:24:23 2002 +0000 (2002-12-30)
parents 8011ffc31a55
children f60fd9a628d9
files xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c
line diff
     1.1 --- a/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c	Mon Dec 30 10:09:41 2002 +0000
     1.2 +++ b/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c	Mon Dec 30 10:24:23 2002 +0000
     1.3 @@ -189,7 +189,7 @@ unsigned long direct_mmap(unsigned long 
     1.4      dmmap->vm_end = addr + size;
     1.5  	entry = find_direct(&current->mm->context.direct_list, addr);
     1.6  	if(entry != &current->mm->context.direct_list){
     1.7 -		list_add_tail(&dmmap->list, entry);
     1.8 +		list_add(&dmmap->list, entry);
     1.9  		printk(KERN_ALERT "bd240 debug: added node %lx in the middle\n", dmmap->vm_start);
    1.10  	} else {
    1.11      	list_add(&dmmap->list, &current->mm->context.direct_list);