diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-06-01 13:17:22 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-06-01 13:17:22 -0400 |
commit | 5eec43a1fa2a7ec5225411c97538fa582d36f579 (patch) | |
tree | 22928042a707851ab4359eb45e7bda04a374f4d3 /include/linux/sched.h | |
parent | 75025cc9d13f2093bb1ee4388dbaae3182c97bab (diff) | |
parent | e25028c8ded011d19f9a11164807507c94febc01 (diff) |
Merge tag 'kvmarm-for-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
KVM/ARM updates for 4.18
- Lazy context-switching of FPSIMD registers on arm64
- Allow virtual redistributors to be part of two or more MMIO ranges
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index c2413703f45d..ff289ae6b787 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1618,6 +1618,12 @@ static inline void clear_tsk_thread_flag(struct task_struct *tsk, int flag) | |||
1618 | clear_ti_thread_flag(task_thread_info(tsk), flag); | 1618 | clear_ti_thread_flag(task_thread_info(tsk), flag); |
1619 | } | 1619 | } |
1620 | 1620 | ||
1621 | static inline void update_tsk_thread_flag(struct task_struct *tsk, int flag, | ||
1622 | bool value) | ||
1623 | { | ||
1624 | update_ti_thread_flag(task_thread_info(tsk), flag, value); | ||
1625 | } | ||
1626 | |||
1621 | static inline int test_and_set_tsk_thread_flag(struct task_struct *tsk, int flag) | 1627 | static inline int test_and_set_tsk_thread_flag(struct task_struct *tsk, int flag) |
1622 | { | 1628 | { |
1623 | return test_and_set_ti_thread_flag(task_thread_info(tsk), flag); | 1629 | return test_and_set_ti_thread_flag(task_thread_info(tsk), flag); |