From aed7623cbbbc21034a5b6ba5cd7cc157f068f860 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 14 Aug 1995 16:25:11 +0000 Subject: Formerly sched.h.~8~ --- pfinet/linux/sched.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pfinet/linux/sched.h') diff --git a/pfinet/linux/sched.h b/pfinet/linux/sched.h index 45c7cc8e..51b1b20e 100644 --- a/pfinet/linux/sched.h +++ b/pfinet/linux/sched.h @@ -9,6 +9,7 @@ #include #include "mapped-time.h" #include +#include extern unsigned long intr_count; #define jiffies (fetch_jiffies ()) @@ -23,6 +24,7 @@ struct task_struct int blocked; int state; int isroot; + thread_t thread; }; /* FLAGS in task_struct's. */ @@ -31,15 +33,14 @@ struct task_struct #define TASK_INTERRUPTIBLE 1 #define TASK_RUNNING 2 -extern inline int suser () +extern inline int +suser () { return current->isroot; }; void wake_up_interruptible (struct wait_queue **); void interruptible_sleep_on (struct wait_queue **); -void add_wait_queue (struct wait_queue **, struct wait_queue *); -void remove_wait_queue (struct wait_queue **, struct wait_queue *); void select_wait (struct wait_queue **, select_table *); -- cgit v1.2.3