bitkeeper revision 1.7.3.27 (3e003f291O_YZUk9AXbU7gc5HK9Vyw)

test
This commit is contained in:
lynx@idefix.cl.cam.ac.uk committed 2002-12-18 09:26:01 +00:00
1 parent 7773e6ccbe
commit bfccb8f286
2 files changed
+4 -4

No files matched your search

@@ -153,7 +153,7 @@ static ssize_t dom_mem_write(struct file * file, const char * buff,
copy_from_user(&addr, (unsigned long *)buff, sizeof(addr));
printk("bd240 debug: dom_mem_write addr %lx\n", addr);
printk(KERN_ALERT "bd240 debug: dom_mem_write addr %lx\n", addr);
if(direct_disc_unmap(addr, mem_data->pfn, mem_data->tot_pages) == 0){
return sizeof(addr);
@@ -182,7 +182,7 @@ unsigned long direct_mmap(unsigned long phys_addr, unsigned long size,
dmmap->addr = addr;
list_add(&dmmap->list, &current->mm->context.direct_list);
printk("bd240 debug: direct_mmap: enlisting addr %lx\n", dmmap->addr);
printk(KERN_ALERT "bd240 debug: direct_mmap: enlisting addr %lx\n", dmmap->addr);
/* and perform the mapping */
if(flag == MAP_DISCONT){
@@ -332,13 +332,13 @@ int direct_disc_unmap(unsigned long from, unsigned long first_pg, int tot_pages)
struct list_head * curr;
struct list_head * direct_list = &current->mm->context.direct_list;
printk("bd240 debug: direct_disc_unmap: from %lx\n", from);
printk(KERN_ALERT "bd240 debug: direct_disc_unmap: from %lx\n", from);
curr = direct_list->next;
while(curr != direct_list){
node = list_entry(curr, direct_mmap_node_t, list);
printk("bd240 debug: direct_disc_unmap: node %lx\n", node->addr);
printk(KERN_ALERT "bd240 debug: direct_disc_unmap: node %lx\n", node->addr);
if(node->addr == from)
break;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.