mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
bitkeeper revision 1.7.3.55 (3e101ed7H-32_7y_jVNzKUArrU5xeA)
direct_mmap fix
This commit is contained in:
1 parent
f30b604d8d
commit
babf2deb3c
1 file changed
+1
-1
@@ -189,7 +189,7 @@ unsigned long direct_mmap(unsigned long phys_addr, unsigned long size,
|
||||
dmmap->vm_end = addr + size;
|
||||
entry = find_direct(¤t->mm->context.direct_list, addr);
|
||||
if(entry != ¤t->mm->context.direct_list){
|
||||
list_add_tail(&dmmap->list, entry);
|
||||
list_add(&dmmap->list, entry);
|
||||
printk(KERN_ALERT "bd240 debug: added node %lx in the middle\n", dmmap->vm_start);
|
||||
} else {
|
||||
list_add(&dmmap->list, ¤t->mm->context.direct_list);
|
||||
|
||||