summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2017-05-05 10:55:01 +0300
committerIngo Molnar <mingo@kernel.org>2017-05-15 11:15:16 +0300
commit615cd03373a02a17b82b253ff5e02e3a83b224f8 (patch)
tree1188df49f87e3051e368a373609d2bc5e9e2bd7a /include/linux
parent59eaef78bfea88fcbbd7b9b48ccf513aae1522c3 (diff)
downloadlinux-615cd03373a02a17b82b253ff5e02e3a83b224f8.tar.xz
x86/tsc: Fix sched_clock() sync
While looking through the code I noticed that we initialize the cyc2ns fields with a different cycle value for each CPU, resulting in a slightly different 0 point for each CPU. 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')
0 files changed, 0 insertions, 0 deletions