diff options
author | Zefan Li <lizefan@huawei.com> | 2014-09-25 09:40:40 +0800 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-09-24 22:16:06 -0400 |
commit | e0e5070b20e01f0321f97db4e4e174f3f6b49e50 (patch) | |
tree | 4135aa645ae2bc041d72fcfd5e64f6544a0791f4 /arch | |
parent | a2b86f772227bcaf962c8b134f8d187046ac5f0e (diff) | |
download | op-kernel-dev-e0e5070b20e01f0321f97db4e4e174f3f6b49e50.zip op-kernel-dev-e0e5070b20e01f0321f97db4e4e174f3f6b49e50.tar.gz |
sched: add macros to define bitops for task atomic flags
This will simplify code when we add new flags.
v3:
- Kees pointed out that no_new_privs should never be cleared, so we
shouldn't define task_clear_no_new_privs(). we define 3 macros instead
of a single one.
v2:
- updated scripts/tags.sh, suggested by Peter
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Miao Xie <miaox@cn.fujitsu.com>
Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Zefan Li <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions