sched/fair: Use time_after() in record_wakee()
authorManuel Schölling <manuel.schoelling@gmx.de>
Thu, 22 May 2014 17:45:23 +0000 (19:45 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 5 Jun 2014 09:52:02 +0000 (11:52 +0200)
commit2538d960d0c74cdc639f05723e04a67aed1efdf9
tree05132dfa4b4caf1c4067a09cd96557d2956a5ecc
parented61bbc69c773465782476c7e5869fa5607fa73a
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>
kernel/sched/fair.c