git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
arch
/
x86_64
/
lib
/
delay.c
diff --git
a/arch/x86_64/lib/delay.c
b/arch/x86_64/lib/delay.c
index
9fcdb2d
..
05689cc
100644
(file)
--- a/
arch/x86_64/lib/delay.c
+++ b/
arch/x86_64/lib/delay.c
@@
-34,7
+34,7
@@
void __delay(unsigned long loops)
inline void __const_udelay(unsigned long xloops)
{
-
__delay(((xloops * current_cpu_data
.loops_per_jiffy) >> 32) * HZ);
+
__delay(((xloops * cpu_data[_smp_processor_id()]
.loops_per_jiffy) >> 32) * HZ);
}
void __udelay(unsigned long usecs)