sched/cputime: Fix omitted ticks passed in parameter
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 11 Aug 2016 12:58:24 +0000 (14:58 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 11 Aug 2016 14:34:37 +0000 (16:34 +0200)
commit26f2c75cd2cf10a6120ef02ca9a94db77cc9c8e0
treea40a52dd64287f1273734de3de99d1bc6be18f44
parentf9bcf1e0e0145323ba2cf72ecad5264ff3883eb1
sched/cputime: Fix omitted ticks passed in parameter

Commit:

  f9bcf1e0e014 ("sched/cputime: Fix steal time accounting")

... fixes a leak on steal time accounting but forgets to account
the ticks passed in parameters, assuming there is only one to
take into account.

Let's consider that parameter back.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Wanpeng Li <kernellwp@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Radim <rkrcmar@redhat.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Wanpeng Li <wanpeng.li@hotmail.com>
Cc: linux-tip-commits@vger.kernel.org
Link: http://lkml.kernel.org/r/20160811125822.GB4214@lerouge
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/cputime.c