ia64/xen-unstable

changeset 82:29334f27f404

bitkeeper revision 1.7.3.57 (3e1020e0-dfh3X9yV_XBTiDw4VdH0A)

debug
author lynx@idefix.cl.cam.ac.uk
date Mon Dec 30 10:33:04 2002 +0000 (2002-12-30)
parents f60fd9a628d9
children 7c48a158429c
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:30:45 2002 +0000
     1.2 +++ b/xenolinux-2.4.16-sparse/arch/xeno/drivers/dom0/dom0_memory.c	Mon Dec 30 10:33:04 2002 +0000
     1.3 @@ -178,7 +178,7 @@ unsigned long direct_mmap(unsigned long 
     1.4      /* add node on the list of directly mapped areas, make sure the
     1.5  	 * list remains sorted.
     1.6  	 */ 
     1.7 -    dmmap = (direct_mmap_node_t *)kmalloc(KMALLOC_SIZE, GFP_KERNEL);
     1.8 +    dmmap = (direct_mmap_node_t *)kmalloc(sizeof(direct_mmap_node_t), GFP_KERNEL);
     1.9      dmmap->vm_start = addr;
    1.10      dmmap->vm_end = addr + size;
    1.11  	entry = find_direct(&current->mm->context.direct_list, addr);