[patch 1/8] x86/tsc: Use X86_FEATURE_TSC_ADJUST in detect_art()

2016-11-19 Thread Thomas Gleixner
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 --- arch/x86/kernel/tsc.c | 14 -- 1 file changed, 8 insertions(+), 6

[patch 1/8] x86/tsc: Use X86_FEATURE_TSC_ADJUST in detect_art()

2016-11-19 Thread Thomas Gleixner
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 --- arch/x86/kernel/tsc.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) ---