summaryrefslogtreecommitdiff
path: root/include/linux/clocksource.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2017-04-21 13:11:53 +0300
committerIngo Molnar <mingo@kernel.org>2017-05-15 11:15:17 +0300
commitcf15ca8deda86b27b66e27848b4b0fe58098fc0b (patch)
tree9adb684132d9504daf6c9927d4cea67cea83c833 /include/linux/clocksource.h
parentaa7b630ea023d2d70b34af18cea92f31429c1db0 (diff)
downloadlinux-cf15ca8deda86b27b66e27848b4b0fe58098fc0b.tar.xz
sched/clock: Initialize all per-CPU state before switching (back) to unstable
In preparation for not keeping the sched_clock_tick() active for stable TSC, we need to explicitly initialize all per-CPU state before switching back to unstable. Note: this patch looses the __gtod_offset calculation; it will be restored in the next one. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/clocksource.h')
0 files changed, 0 insertions, 0 deletions