x86/tsc: Do not check X86_FEATURE_CONSTANT_TSC in notifier call
authorBorislav Petkov <bp@suse.de>
Tue, 5 Apr 2016 06:29:52 +0000 (08:29 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 13 Apr 2016 09:37:43 +0000 (11:37 +0200)
commita841cca74ea7612508aee161c89987b2646ed769
tree43205d37d9c37fd55e584b44c8ccae785befc456
parent425d8c2fc5e6dddbad083502bb77c7beae545620
x86/tsc: Do not check X86_FEATURE_CONSTANT_TSC in notifier call

... because the notifier-registering routine already does that. Also,
rename cpufreq_tsc() init call to something more telling.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1459837795-2588-4-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/tsc.c