|
@@ -451,7 +451,7 @@ void stop_this_cpu(void *dummy);
|
|
*
|
|
*
|
|
* (Could use an alternative three way for this if there was one.)
|
|
* (Could use an alternative three way for this if there was one.)
|
|
*/
|
|
*/
|
|
-static inline void rdtsc_barrier(void)
|
|
|
|
|
|
+static __always_inline void rdtsc_barrier(void)
|
|
{
|
|
{
|
|
alternative(ASM_NOP3, "mfence", X86_FEATURE_MFENCE_RDTSC);
|
|
alternative(ASM_NOP3, "mfence", X86_FEATURE_MFENCE_RDTSC);
|
|
alternative(ASM_NOP3, "lfence", X86_FEATURE_LFENCE_RDTSC);
|
|
alternative(ASM_NOP3, "lfence", X86_FEATURE_LFENCE_RDTSC);
|