diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-22 06:06:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-08-22 06:06:07 -0700 |
commit | 14729dbe26e736a6cc5479d3acb9e288b56a9a1b (patch) | |
tree | 2b16fcfd7917a7a6a0762eca74fbd85095d12bc3 /include | |
parent | 672a483050bd4fa733fb5854bd749d124f3e32a8 (diff) | |
download | history-14729dbe26e736a6cc5479d3acb9e288b56a9a1b.tar.gz |
Make some single-bit bitfields unsigned.
Signed single-bit bitfields really are a pretty strange
thing to have. They work, but it wasn't really intentional.
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sched.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index e752fed52204a8..ed6acd78eb8b29 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -425,7 +425,7 @@ struct task_struct { int pdeath_signal; /* The signal sent when the parent dies */ /* ??? */ unsigned long personality; - int did_exec:1; + unsigned did_exec:1; pid_t pid; pid_t tgid; /* @@ -465,7 +465,7 @@ struct task_struct { gid_t gid,egid,sgid,fsgid; struct group_info *group_info; kernel_cap_t cap_effective, cap_inheritable, cap_permitted; - int keep_capabilities:1; + unsigned keep_capabilities:1; struct user_struct *user; /* limits */ struct rlimit rlim[RLIM_NLIMITS]; |