From 481d7bd2dd7365f0002e2f713ecc0a62ed20bfdd Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 9 Aug 1995 14:40:58 +0000 Subject: Formerly sched.h.~6~ --- pfinet/linux/sched.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pfinet/linux') 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 *); -- cgit v1.2.3