diff options
Diffstat (limited to 'tools/perf/tests/rdpmc.c')
-rw-r--r-- | tools/perf/tests/rdpmc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/tests/rdpmc.c b/tools/perf/tests/rdpmc.c index ff94886aad99..46649c25fa5e 100644 --- a/tools/perf/tests/rdpmc.c +++ b/tools/perf/tests/rdpmc.c | |||
@@ -9,8 +9,6 @@ | |||
9 | 9 | ||
10 | #if defined(__x86_64__) || defined(__i386__) | 10 | #if defined(__x86_64__) || defined(__i386__) |
11 | 11 | ||
12 | #define barrier() asm volatile("" ::: "memory") | ||
13 | |||
14 | static u64 rdpmc(unsigned int counter) | 12 | static u64 rdpmc(unsigned int counter) |
15 | { | 13 | { |
16 | unsigned int low, high; | 14 | unsigned int low, high; |