projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87be28a
)
x86/asm/tsc: Remove the rdtscp() and rdtscpll() macros
author
Andy Lutomirski
<
[email protected]
>
Thu, 25 Jun 2015 16:43:59 +0000
(18:43 +0200)
committer
Ingo Molnar
<
[email protected]
>
Mon, 6 Jul 2015 13:23:26 +0000
(15:23 +0200)
They have no users. Leave native_read_tscp() which seems
potentially useful despite also having no callers.
Signed-off-by: Andy Lutomirski <
[email protected]
>
Signed-off-by: Borislav Petkov <
[email protected]
>
Cc: Andy Lutomirski <
[email protected]
>
Cc: Borislav Petkov <
[email protected]
>
Cc: Brian Gerst <
[email protected]
>
Cc: Denys Vlasenko <
[email protected]
>
Cc: H. Peter Anvin <
[email protected]
>
Cc: Huang Rui <
[email protected]
>
Cc: John Stultz <
[email protected]
>
Cc: Len Brown <
[email protected]
>
Cc: Linus Torvalds <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Ralf Baechle <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Cc: kvm ML <
[email protected]
>
Link:
http://lkml.kernel.org/r/6abfa3ef80534b5d73898a48c4d25e069303cbe5.1434501121.git.luto@kernel.org
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/include/asm/msr.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/msr.h
b/arch/x86/include/asm/msr.h
index 7273b74e0f99fef5faa9579d02ba313fe53bd00c..626f781996658534a94544733731f2f2c29a876e 100644
(file)
--- a/
arch/x86/include/asm/msr.h
+++ b/
arch/x86/include/asm/msr.h
@@
-192,15
+192,6
@@
do { \
#define rdtscl(low) \
((low) = (u32)native_read_tsc())
-#define rdtscp(low, high, aux) \
-do { \
- unsigned long long _val = native_read_tscp(&(aux)); \
- (low) = (u32)_val; \
- (high) = (u32)(_val >> 32); \
-} while (0)
-
-#define rdtscpll(val, aux) (val) = native_read_tscp(&(aux))
-
/*
* 64-bit version of wrmsr_safe():
*/