X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=arch%2Fx86%2Finclude%2Fasm%2Fsystem.h;h=33ecc3ea8782add8f88e68405d227ee4af700134;hb=6ba74014c1ab0e37af7de6f64b4eccbbae3cb9e7;hp=1db9bd2281d7bf2fb45a4aae625aedcc8ab9aaff;hpb=597e608a8492d662736c9bc6aa507dbf1cadc17d;p=deliverable%2Flinux.git diff --git a/arch/x86/include/asm/system.h b/arch/x86/include/asm/system.h index 1db9bd2281d7..33ecc3ea8782 100644 --- a/arch/x86/include/asm/system.h +++ b/arch/x86/include/asm/system.h @@ -451,7 +451,7 @@ void stop_this_cpu(void *dummy); * * (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, "lfence", X86_FEATURE_LFENCE_RDTSC);