diff options
Diffstat (limited to 'kernel/sched_clock.c')
-rw-r--r-- | kernel/sched_clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sched_clock.c b/kernel/sched_clock.c index 97159e225a77..55fca1e9e12a 100644 --- a/kernel/sched_clock.c +++ b/kernel/sched_clock.c | |||
@@ -203,8 +203,8 @@ u64 sched_clock_cpu(int cpu) | |||
203 | now -= my_scd->tick_raw; | 203 | now -= my_scd->tick_raw; |
204 | now += scd->tick_raw; | 204 | now += scd->tick_raw; |
205 | 205 | ||
206 | now -= my_scd->tick_gtod; | 206 | now += my_scd->tick_gtod; |
207 | now += scd->tick_gtod; | 207 | now -= scd->tick_gtod; |
208 | 208 | ||
209 | __raw_spin_unlock(&my_scd->lock); | 209 | __raw_spin_unlock(&my_scd->lock); |
210 | } else { | 210 | } else { |