Commit d4cbc092 authored by Yury Norov's avatar Yury Norov Committed by Chen Jiahao
Browse files

thread: move thread bits accessors to separated file

maillist inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7WGZU
CVE: NA

Reference: https://github.com/norov/linux/commits/ilp32-5.2



--------------------------------

Thread bits may be accessed from low-level code, so isolating is a measure
to avoid circular dependencies in header files.

The exact reason for circular dependency is WARN_ON() macro added in patch
edd63a27 "set_restore_sigmask() is never called without SIGPENDING (and
never should be)"

Signed-off-by: default avatarYury Norov <ynorov@caviumnetworks.com>
Signed-off-by: default avatarYury Norov <ynorov@marvell.com>
Signed-off-by: default avatarXiongfeng Wang <wangxiongfeng2@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>

Conflicts:
    include/linux/sched.h
    include/linux/thread_info.h
[chenjiahao: small context conflicts because of inclusion of header files]

Signed-off-by: default avatarChen Jiahao <chenjiahao16@huawei.com>
parent 29458cb4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment