Code Review
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial
[linux-2.6.git]
/
arch
/
x86
/
kernel
/
tsc_32.c
diff --git
a/arch/x86/kernel/tsc_32.c
b/arch/x86/kernel/tsc_32.c
index b8a7cf6714327ebd7c338883ccb257901aeab3dc..d78444c788a3b8f8c4fa6824a6afcf3860d2f4fe 100644
(file)
--- a/
arch/x86/kernel/tsc_32.c
+++ b/
arch/x86/kernel/tsc_32.c
@@
-59,7
+59,7
@@
int check_tsc_unstable(void)
}
EXPORT_SYMBOL_GPL(check_tsc_unstable);
}
EXPORT_SYMBOL_GPL(check_tsc_unstable);
-/* Accel
l
erators for sched_clock()
+/* Accelerators for sched_clock()
* convert from cycles(64bits) => nanoseconds (64bits)
* basic equation:
* ns = cycles / (freq / ns_per_sec)
* convert from cycles(64bits) => nanoseconds (64bits)
* basic equation:
* ns = cycles / (freq / ns_per_sec)
@@
-74,7
+74,7
@@
EXPORT_SYMBOL_GPL(check_tsc_unstable);
* And since SC is a constant power of two, we can convert the div
* into a shift.
*
* And since SC is a constant power of two, we can convert the div
* into a shift.
*
- * We can use khz divisor instead of mhz to keep a better p
er
cision, since
+ * We can use khz divisor instead of mhz to keep a better p
re
cision, since
* cyc2ns_scale is limited to 10^6 * 2^10, which fits in 32 bits.
* (mathieu.desnoyers@polymtl.ca)
*
* cyc2ns_scale is limited to 10^6 * 2^10, which fits in 32 bits.
* (mathieu.desnoyers@polymtl.ca)
*