summaryrefslogtreecommitdiff
path: root/kernel/sched/isolation.c
diff options
context:
space:
mode:
authorYi Wang <wang.yi59@zte.com.cn>2019-07-05 12:35:07 +0800
committerIngo Molnar <mingo@kernel.org>2019-07-25 15:51:55 +0200
commit65d74e91694e1afac40c96fb64a9ef120757729e (patch)
treeb46a418e27efea852417da3640bdb7aa7f8981e4 /kernel/sched/isolation.c
parent7b3c92b85a65c2db1f542265bc98e1f9e3056eba (diff)
sched/stats: Fix unlikely() use of sched_info_on()
sched_info_on() is called with unlikely hint, however, the test is to be a constant(1) on which compiler will do nothing when make defconfig, so remove the hint. Also, fix a lack of {}. Signed-off-by: Yi Wang <wang.yi59@zte.com.cn> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: up2wing@gmail.com Cc: wang.liang82@zte.com.cn Cc: xue.zhihong@zte.com.cn Link: https://lkml.kernel.org/r/1562301307-43002-1-git-send-email-wang.yi59@zte.com.cn Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/isolation.c')
0 files changed, 0 insertions, 0 deletions