summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pfinet/linux/sched.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pfinet/linux/sched.h b/pfinet/linux/sched.h
index 5c548d46..40b19845 100644
--- a/pfinet/linux/sched.h
+++ b/pfinet/linux/sched.h
@@ -30,6 +30,11 @@ struct task_struct
#define TASK_INTERRUPTIBLE 1
#define TASK_RUNNING 2
+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 *);