diff options
| -rw-r--r-- | arch/arm/kernel/sched_clock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/sched_clock.c b/arch/arm/kernel/sched_clock.c index fc6692e2b603..bd6f56b9ec21 100644 --- a/arch/arm/kernel/sched_clock.c +++ b/arch/arm/kernel/sched_clock.c | |||
| @@ -93,11 +93,11 @@ static void notrace update_sched_clock(void) | |||
| 93 | * detectable in cyc_to_fixed_sched_clock(). | 93 | * detectable in cyc_to_fixed_sched_clock(). |
| 94 | */ | 94 | */ |
| 95 | raw_local_irq_save(flags); | 95 | raw_local_irq_save(flags); |
| 96 | cd.epoch_cyc = cyc; | 96 | cd.epoch_cyc_copy = cyc; |
| 97 | smp_wmb(); | 97 | smp_wmb(); |
| 98 | cd.epoch_ns = ns; | 98 | cd.epoch_ns = ns; |
| 99 | smp_wmb(); | 99 | smp_wmb(); |
| 100 | cd.epoch_cyc_copy = cyc; | 100 | cd.epoch_cyc = cyc; |
| 101 | raw_local_irq_restore(flags); | 101 | raw_local_irq_restore(flags); |
| 102 | } | 102 | } |
| 103 | 103 | ||
