summarylogtreecommitdiffstats
path: root/002-rdtscl.patch
diff options
context:
space:
mode:
authorAndrey Vihrov2015-11-21 16:52:55 +0200
committerAndrey Vihrov2015-11-21 16:52:55 +0200
commit4a638078309320784c58709f98e6196571c379b2 (patch)
treebb30fb7b0d602884978dc0e1d40d8ece1873bee8 /002-rdtscl.patch
parent36f9361f7907c579b42232954a1ac955ae6f9431 (diff)
downloadaur-4a638078309320784c58709f98e6196571c379b2.tar.gz
Use correct function name in 002-rdtscl.patch
Diffstat (limited to '002-rdtscl.patch')
-rw-r--r--002-rdtscl.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/002-rdtscl.patch b/002-rdtscl.patch
index 0b9604ded570..a61b1d23b71b 100644
--- a/002-rdtscl.patch
+++ b/002-rdtscl.patch
@@ -6,7 +6,7 @@ diff -ru a/src/shared/linux_osl.c b/src/shared/linux_osl.c
#if defined(__i386__)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 3, 0)
-+ cycles = (u32)native_read_tsc();
++ cycles = (u32)rdtsc();
+#else
rdtscl(cycles);
+#endif