diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2002-09-14 21:35:42 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-09-14 21:35:42 -0700 |
| commit | 9325c6843037167d789b524228e2d81fae20eac6 (patch) | |
| tree | 574787b7f869d8ed9a795851f3ab72fefa6fc5de /include/linux | |
| parent | 63540ceac6d79d7703dfe6e2c161f342a03f8a11 (diff) | |
Use CLONE_KERNEL for the common kernel thread flags.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 97905a0e3d9d..e6c24f2bfadd 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -51,7 +51,11 @@ struct exec_domain; #define CLONE_CLEARTID 0x00200000 /* clear the userspace TID */ #define CLONE_DETACHED 0x00400000 /* parent wants no child-exit signal */ -#define CLONE_SIGNAL (CLONE_SIGHAND | CLONE_THREAD) +/* + * List of flags we want to share for kernel threads, + * if only because they are not used by them anyway. + */ +#define CLONE_KERNEL (CLONE_FS | CLONE_FILES | CLONE_SIGHAND) /* * These are the constant used to fake the fixed-point load-average |
