aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2017-06-07 18:22:00 -0400
committerBjoern Brandenburg <bbb@mpi-sws.org>2017-06-07 18:22:00 -0400
commitc1573c3daca101b3a6e08516a111631bb0c1eba9 (patch)
tree7d8dac06e2d1b7a700e0540350ef84bef688662d /arch/x86
parentb97b8f0f426c5b9a2b51a6911f793fa35890df94 (diff)
Feather-Trace: switch to get_cycles()
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/include/asm/feather_trace.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/include/asm/feather_trace.h b/arch/x86/include/asm/feather_trace.h
index 4fd31633405d..4e732d4ea508 100644
--- a/arch/x86/include/asm/feather_trace.h
+++ b/arch/x86/include/asm/feather_trace.h
@@ -2,10 +2,11 @@
2#define _ARCH_FEATHER_TRACE_H 2#define _ARCH_FEATHER_TRACE_H
3 3
4#include <asm/msr.h> 4#include <asm/msr.h>
5#include <asm/timex.h>
5 6
6static inline unsigned long long ft_timestamp(void) 7static inline unsigned long long ft_timestamp(void)
7{ 8{
8 return __native_read_tsc(); 9 return get_cycles();
9} 10}
10 11
11#ifdef CONFIG_X86_32 12#ifdef CONFIG_X86_32