diff options
author | Yi Wang <[email protected]> | 2019-07-05 12:35:07 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-07-25 15:51:55 +0200 |
commit | 65d74e91694e1afac40c96fb64a9ef120757729e (patch) | |
tree | b46a418e27efea852417da3640bdb7aa7f8981e4 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
parent | 7b3c92b85a65c2db1f542265bc98e1f9e3056eba (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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions