Removed linux linked list dependency.

This commit is contained in:
Bahadir Balban
2009-06-02 13:19:17 +03:00
parent 4757f46f71
commit 276b4643c6
69 changed files with 455 additions and 885 deletions

View File

@@ -51,18 +51,18 @@ struct task_fd_head {
};
struct task_vma_head {
struct list_head list;
struct link list;
int tcb_refs;
};
struct utcb_desc {
struct list_head list;
struct link list;
unsigned long utcb_base;
struct id_pool *slots;
};
struct utcb_head {
struct list_head list;
struct link list;
int tcb_refs;
};
@@ -70,11 +70,11 @@ struct utcb_head {
/* Stores all task information that can be kept in userspace. */
struct tcb {
/* Task list */
struct list_head list;
struct link list;
/* Fields for parent-child relations */
struct list_head child_ref; /* Child ref in parent's list */
struct list_head children; /* List of children */
struct link child_ref; /* Child ref in parent's list */
struct link children; /* List of children */
struct tcb *parent; /* Parent task */
/* Task creation flags */
@@ -131,7 +131,7 @@ struct tcb {
};
struct tcb_head {
struct list_head list;
struct link list;
int total; /* Total threads */
};