diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-11-19 13:47:33 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-11-29 19:23:15 +0100 |
commit | 7b3d2f6e08ed5eb6bcf6912938f7a542405f8e8e (patch) | |
tree | 0e6940350eeba63f102e93b8fb34b6f7e47df97c /arch/x86/kernel/dumpstack_64.c | |
parent | 984fecebda3b9c8e3d75f8492593da71c58972b3 (diff) | |
download | blackbird-op-linux-7b3d2f6e08ed5eb6bcf6912938f7a542405f8e8e.tar.gz blackbird-op-linux-7b3d2f6e08ed5eb6bcf6912938f7a542405f8e8e.zip |
x86/tsc: Use X86_FEATURE_TSC_ADJUST in detect_art()
The art detection uses rdmsrl_safe() to detect the availablity of the
TSC_ADJUST MSR.
That's pointless because we have a feature bit for this. Use it.
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.483561692@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/dumpstack_64.c')
0 files changed, 0 insertions, 0 deletions