mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
bitkeeper revision 1.7.3.57 (3e1020e0-dfh3X9yV_XBTiDw4VdH0A)
debug
This commit is contained in:
1 parent
5799b36feb
commit
d4496bbfbc
1 file changed
+1
-1
@@ -178,7 +178,7 @@ unsigned long direct_mmap(unsigned long phys_addr, unsigned long size,
|
||||
/* add node on the list of directly mapped areas, make sure the
|
||||
* list remains sorted.
|
||||
*/
|
||||
dmmap = (direct_mmap_node_t *)kmalloc(KMALLOC_SIZE, GFP_KERNEL);
|
||||
dmmap = (direct_mmap_node_t *)kmalloc(sizeof(direct_mmap_node_t), GFP_KERNEL);
|
||||
dmmap->vm_start = addr;
|
||||
dmmap->vm_end = addr + size;
|
||||
entry = find_direct(¤t->mm->context.direct_list, addr);
|
||||
|
||||