mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
bitkeeper revision 1.7.3.42 (3e03071aVTtlzqiyerAU3BTXmSRg8A)
get_unmapped_area related
This commit is contained in:
1 parent
4c83085305
commit
46ecb0d377
1 file changed
+4
@@ -70,6 +70,10 @@ unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, unsi
|
||||
*/
|
||||
struct list_head *find_direct(struct list_head *list, unsigned long addr)
|
||||
{
|
||||
struct list_head * curr;
|
||||
struct list_head * direct_list = ¤t->mm->context.direct_list;
|
||||
direct_mmap_node_t * node;
|
||||
|
||||
for ( curr = direct_list->next; curr != direct_list; curr = curr->next )
|
||||
{
|
||||
node = list_entry(curr, direct_mmap_node_t, list);
|
||||
|
||||