diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-12-14 11:42:06 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:13:48 -0700 |
commit | 027263f0056e7cbd43c0860ba5dcafd9e4cac916 (patch) | |
tree | 263cde65f32acbc82cd616751f758fbd6417cc10 /klibc/include/sched.h | |
parent | bc0410fdb64e295ae74d990185fa0bbc883e5432 (diff) |
[PATCH] update klibc to 0.194
Diffstat (limited to 'klibc/include/sched.h')
-rw-r--r-- | klibc/include/sched.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/klibc/include/sched.h b/klibc/include/sched.h index fcf62a6e4f..3465b5705c 100644 --- a/klibc/include/sched.h +++ b/klibc/include/sched.h @@ -25,7 +25,9 @@ __extern int sched_yield(void); __extern pid_t __clone2(int, void *, void *); static __inline__ pid_t __clone(int _f, void *_sp) { - return __clone2(_f, _sp, 0); + /* 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 *); |