Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
kernel
/
sched
/
auto_group.h
diff --git
a/kernel/kernel/sched/auto_group.h
b/kernel/kernel/sched/auto_group.h
index
8bd0471
..
890c95f
100644
(file)
--- a/
kernel/kernel/sched/auto_group.h
+++ b/
kernel/kernel/sched/auto_group.h
@@
-29,7
+29,7
@@
extern bool task_wants_autogroup(struct task_struct *p, struct task_group *tg);
static inline struct task_group *
autogroup_task_group(struct task_struct *p, struct task_group *tg)
{
static inline struct task_group *
autogroup_task_group(struct task_struct *p, struct task_group *tg)
{
- int enabled =
ACCESS
_ONCE(sysctl_sched_autogroup_enabled);
+ int enabled =
READ
_ONCE(sysctl_sched_autogroup_enabled);
if (enabled && task_wants_autogroup(p, tg))
return p->signal->autogroup->tg;
if (enabled && task_wants_autogroup(p, tg))
return p->signal->autogroup->tg;