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:
0a4d8a4
)
x86: use rdtscll in read_current_timer for i386.
author
Glauber Costa
<gcosta@redhat.com>
Tue, 24 Jun 2008 12:52:36 +0000
(09:52 -0300)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 9 Jul 2008 06:52:02 +0000
(08:52 +0200)
This way we achieve the same code for both arches.
Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/lib/delay_32.c
patch
|
blob
|
history
diff --git
a/arch/x86/lib/delay_32.c
b/arch/x86/lib/delay_32.c
index 54013f87d9564ab02262623ef6eb7325c3fbc8d6..bf6de05445ba4cc03c3e724e144ca1ffb450b1f8 100644
(file)
--- a/
arch/x86/lib/delay_32.c
+++ b/
arch/x86/lib/delay_32.c
@@
-98,7
+98,7
@@
void use_tsc_delay(void)
int __devinit read_current_timer(unsigned long *timer_val)
{
if (delay_fn == delay_tsc) {
- rdtscl(*timer_val);
+ rdtscl
l
(*timer_val);
return 0;
}
return -1;