projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86/asm/tsc: Use rdtsc_ordered() in read_tsc() instead of get_cycles()
[deliverable/linux.git]
/
arch
/
x86
/
kernel
/
tsc.c
diff --git
a/arch/x86/kernel/tsc.c
b/arch/x86/kernel/tsc.c
index 21d6e04e3e825939c8e843a9890b099149f27e2c..451bade0d320e05a36fcc2b330be511fa3a9c13b 100644
(file)
--- a/
arch/x86/kernel/tsc.c
+++ b/
arch/x86/kernel/tsc.c
@@
-961,7
+961,7
@@
static struct clocksource clocksource_tsc;
*/
static cycle_t read_tsc(struct clocksource *cs)
{
- return (cycle_t)
get_cycles
();
+ return (cycle_t)
rdtsc_ordered
();
}
/*
This page took
0.027394 seconds
and
5
git commands to generate.