Borislav Petkov (AMD) 6b8d5dde5b x86/tsc: Do feature check as the very first thing
Do the feature check as the very first thing in the function. Everything
else comes after that and is meaningless work if the TSC CPUID bit is
not even set. Switch to cpu_feature_enabled() too, while at it.

No functional changes.

Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/Y5990CUCuWd5jfBH@zn.tnic
2023-02-11 10:44:07 +01:00
..
2022-12-12 14:41:57 -08:00
2022-12-17 14:06:53 -06:00
2022-03-15 10:32:40 +01:00
2022-11-21 23:01:51 +01:00
2022-09-26 10:13:16 -07:00
2022-04-19 17:14:09 -07:00
2022-12-17 14:06:53 -06:00
2022-12-02 14:06:34 +01:00
2022-04-07 08:27:51 -07:00
2022-08-02 15:21:18 -07:00
2022-12-15 11:12:21 -08:00
2021-12-01 00:06:43 +01:00
2022-05-19 19:30:31 +02:00
2022-12-10 10:33:11 -06:00
2022-02-25 09:36:05 +01:00
2022-09-26 19:46:16 -07:00
2021-10-25 23:02:36 -04:00
2022-11-21 23:01:51 +01:00
2022-04-14 14:09:43 +02:00
2022-11-01 13:44:10 +01:00