diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-11-09 15:42:07 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-11-09 15:42:07 +0100 |
commit | a8349b33e564f7faa83341cb1fa58466b0589ae9 (patch) | |
tree | 45985cfc248e5219a25230959b00b7baa2b8b276 /klibc/include/sched.h | |
parent | accff726856a0b3258a413d823a534f4f437e6b2 (diff) |
remove our own copy of klibc
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'klibc/include/sched.h')
-rw-r--r-- | klibc/include/sched.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/klibc/include/sched.h b/klibc/include/sched.h deleted file mode 100644 index 3465b5705c..0000000000 --- a/klibc/include/sched.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * sched.h - */ - -#ifndef _SCHED_H -#define _SCHED_H - -#include <klibc/extern.h> - -/* linux/sched.h is unusable; put the declarations we need here... */ - -#define SCHED_NORMAL 0 -#define SCHED_FIFO 1 -#define SCHED_RR 2 - -struct sched_param { - int sched_priority; -}; - -__extern int sched_setscheduler(pid_t, int, const struct sched_param *); -__extern int sched_yield(void); - -/* Raw interfaces to clone(2); only actually usable for non-VM-cloning */ -#ifdef __ia64__ -__extern pid_t __clone2(int, void *, void *); -static __inline__ pid_t __clone(int _f, void *_sp) -{ - /* If this is used with _sp != 0 it will have the effect of the sp - and rsp growing away from a single point in opposite directions. */ - return __clone2(_f, _sp, _sp); -} -#else -__extern pid_t __clone(int, void *); -#endif - -#endif /* _SCHED_H */ |