Rearranged devzero. More bugs to fix.

This commit is contained in:
Bahadir Balban
2008-02-05 01:21:55 +00:00
parent b725d09eff
commit 3a07ae70fd
6 changed files with 22 additions and 9 deletions

View File

@@ -317,7 +317,6 @@ int do_anon_page(struct fault_data *fault)
/* Add the page to it's owner's list of in-memory pages */
BUG_ON(!list_empty(&page->list));
BUG();
list_add(&page->list, &page->owner->page_cache_list);
/* The offset of this page in its owner file */
@@ -400,8 +399,6 @@ int do_page_fault(struct fault_data *fault)
err = do_file_page(fault);
/* Return the ipc and by doing so restart the faulty thread */
printf("Finished handling fault. Restarting thread by returning.\n");
l4_ipc_return(err);
return 0;
}