Index: generic/include/proc/task.h
===================================================================
--- generic/include/proc/task.h	(revision a59e81e7504cf966a20f750789032f23926fdab3)
+++ generic/include/proc/task.h	(revision 64c44e8cbc6bebf8c6a3a0e86809acec117cf8e8)
@@ -34,9 +34,10 @@
 #include <list.h>
 
+/** Task structure. */
 struct task {
 	SPINLOCK_DECLARE(lock);
 	link_t th_head;		/**< List of threads contained in this task. */
 	link_t tasks_link;	/**< Link to other tasks within the system. */
-	vm_t *vm;
+	as_t *as;		/**< Address space. */
 };
 
@@ -45,5 +46,5 @@
 
 extern void task_init(void);
-extern task_t *task_create(vm_t *m);
+extern task_t *task_create(as_t *as);
 
 #endif
