ia64/xen-unstable

changeset 67:df03ff4a14a1

bitkeeper revision 1.7.3.42 (3e03071aVTtlzqiyerAU3BTXmSRg8A)

get_unmapped_area related
author lynx@idefix.cl.cam.ac.uk
date Fri Dec 20 12:03:38 2002 +0000 (2002-12-20)
parents b5d2cff54653
children 0dad9004fc0f
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 11:54:11 2002 +0000
     1.2 +++ b/xenolinux-2.4.16-sparse/arch/xeno/mm/get_unmapped_area.c	Fri Dec 20 12:03:38 2002 +0000
     1.3 @@ -70,6 +70,10 @@ unsigned long arch_get_unmapped_area(str
     1.4  */
     1.5  struct list_head *find_direct(struct list_head *list, unsigned long addr)
     1.6  {
     1.7 +	struct list_head * curr;
     1.8 +	struct list_head * direct_list = &current->mm->context.direct_list;
     1.9 +	direct_mmap_node_t * node;
    1.10 +
    1.11      for ( curr = direct_list->next; curr != direct_list; curr = curr->next )
    1.12      {
    1.13          node = list_entry(curr, direct_mmap_node_t, list);