diff options
author | Manuel Schölling <manuel.schoelling@gmx.de> | 2014-05-22 19:45:23 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-06-05 11:52:02 +0200 |
commit | 2538d960d0c74cdc639f05723e04a67aed1efdf9 (patch) | |
tree | 05132dfa4b4caf1c4067a09cd96557d2956a5ecc /include/linux/sched.h | |
parent | ed61bbc69c773465782476c7e5869fa5607fa73a (diff) | |
download | talos-op-linux-2538d960d0c74cdc639f05723e04a67aed1efdf9.tar.gz talos-op-linux-2538d960d0c74cdc639f05723e04a67aed1efdf9.zip |
sched/fair: Use time_after() in record_wakee()
To be future-proof and for better readability the time comparisons are modified
to use time_after() instead of plain, error-prone math.
Signed-off-by: Manuel Schölling <manuel.schoelling@gmx.de>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/1400780723-24626-1-git-send-email-manuel.schoelling@gmx.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions