Merge r7489 from trunk

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7737 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-11-04 04:46:09 +00:00
parent db3046b7f8
commit 49ac85bba5

View File

@@ -68,7 +68,7 @@
#ifdef CONFIG_X86
#include <asm/msr.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 3, 0)
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 3, 0) && !defined(RHEL_RELEASE_CODE)
static __always_inline unsigned long long rdtsc(void)
{
return native_read_tsc();