OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/asm/tsc: Add rdtscll() merge helper
[uclinux-h8/linux.git]
/
arch
/
x86
/
include
/
asm
/
msr.h
diff --git
a/arch/x86/include/asm/msr.h
b/arch/x86/include/asm/msr.h
index
131eec2
..
54e9f08
100644
(file)
--- a/
arch/x86/include/asm/msr.h
+++ b/
arch/x86/include/asm/msr.h
@@
-152,6
+152,9
@@
static __always_inline unsigned long long rdtsc_ordered(void)
return rdtsc();
}
+/* Deprecated, keep it for a cycle for easier merging: */
+#define rdtscll(now) do { (now) = rdtsc_ordered(); } while (0)
+
static inline unsigned long long native_read_pmc(int counter)
{
DECLARE_ARGS(val, low, high);