mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
bitkeeper revision 1.7.3.40 (3e02f57eQHmARiBPgHtT5Xo7zs_hGA)
debug
This commit is contained in:
1 parent
b6abf8e833
commit
785871ffb3
1 file changed
+3
-3
@@ -63,13 +63,13 @@ unsigned long arch_get_unmapped_area(struct file *filp, unsigned long addr, unsi
|
||||
* is not available. this is the only difference to generic
|
||||
* arch_get_unmapped_area.
|
||||
*/
|
||||
if(current->pid > 100){
|
||||
printk(KERN_ALERT "bd240 debug: gua: vm addr found %lx\n", addr);
|
||||
if ((!vma || addr + len <= vma->vm_start) && !direct_mapped(addr)){
|
||||
printk(KERN_ALERT "bd240 debug: gua: first condition %d, %lx, %lx\n",vma, addr + len, vma->vm_start);
|
||||
printk(KERN_ALERT "bd240 debug: gua: second condition %d\n", direct_mapped(addr));
|
||||
|
||||
return addr;
|
||||
}
|
||||
if ((!vma || addr + len <= vma->vm_start) && !direct_mapped(addr))
|
||||
return addr;
|
||||
|
||||
addr = vma->vm_end;
|
||||
}
|
||||
|
||||