x86/tsc: Move sync cleanup to a safe place
authorThomas Gleixner <tglx@linutronix.de>
Sat, 19 Nov 2016 13:47:40 +0000 (13:47 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 29 Nov 2016 18:23:18 +0000 (19:23 +0100)
commit4c5e3c63752162262c42424147f319b8571a20af
tree1c2f250ac0a0d6361b4be103a03ce432932b1946
parenta36f5136814b6a87601220927cb9ad9ecc731e92
x86/tsc: Move sync cleanup to a safe place

Cleaning up the stop marker on the control CPU is wrong when we want to add
retry support. Move the cleanup to the starting CPU.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Link: http://lkml.kernel.org/r/20161119134017.892095627@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/tsc_sync.c