projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae2aa90
)
[ARM] 4066/1: correct a comment about PXA's sched_clock range
author
Nicolas Pitre
<nico@cam.org>
Fri, 22 Dec 2006 17:52:56 +0000
(18:52 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sat, 30 Dec 2006 17:05:07 +0000
(17:05 +0000)
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/generic.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-pxa/generic.c
b/arch/arm/mach-pxa/generic.c
index 6ae605857ca9bfb6764bfbe68761ff960ba35ddb..9de1278d234f86d655880c6f587e10b785cb843a 100644
(file)
--- a/
arch/arm/mach-pxa/generic.c
+++ b/
arch/arm/mach-pxa/generic.c
@@
-76,7
+76,9
@@
unsigned long long sched_clock(void)
/*
* 96-bit math to perform tick * NSEC_PER_SEC / CLOCK_TICK_RATE for
* any value of CLOCK_TICK_RATE. Max value is in the 80 thousand
- * years range which is nice, but with higher computation cost.
+ * years range and truncation to unsigned long long limits it to
+ * sched_clock's max range of ~584 years. This is nice but with
+ * higher computation cost.
*/
{
union {