* [PATCH] timekeeping.txt: Correct maxCount of n-bit binary counter
@ 2018-07-19 16:36 Siddaraju DH
2018-07-23 15:33 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Siddaraju DH @ 2018-07-19 16:36 UTC (permalink / raw)
To: john.stultz; +Cc: tglx, corbet, linux-kernel, linux-doc, Siddaraju DH
A n-bit binary counter can count a maximum of 2^n events and the count
value ranges from 0 to (2^n)-1
Signed-off-by: Siddaraju DH <siddarajudh@gmail.com>
---
Documentation/timers/timekeeping.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/timers/timekeeping.txt b/Documentation/timers/timekeeping.txt
index f3a8cf2..2d1732b 100644
--- a/Documentation/timers/timekeeping.txt
+++ b/Documentation/timers/timekeeping.txt
@@ -27,7 +27,7 @@ a Linux system will eventually read the clock source to determine exactly
what time it is.
Typically the clock source is a monotonic, atomic counter which will provide
-n bits which count from 0 to 2^(n-1) and then wraps around to 0 and start over.
+n bits which count from 0 to (2^n)-1 and then wraps around to 0 and start over.
It will ideally NEVER stop ticking as long as the system is running. It
may stop during system suspend.
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] timekeeping.txt: Correct maxCount of n-bit binary counter
2018-07-19 16:36 [PATCH] timekeeping.txt: Correct maxCount of n-bit binary counter Siddaraju DH
@ 2018-07-23 15:33 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2018-07-23 15:33 UTC (permalink / raw)
To: Siddaraju DH; +Cc: john.stultz, tglx, linux-kernel, linux-doc
On Thu, 19 Jul 2018 22:06:51 +0530
Siddaraju DH <siddarajudh@gmail.com> wrote:
> A n-bit binary counter can count a maximum of 2^n events and the count
> value ranges from 0 to (2^n)-1
>
> Signed-off-by: Siddaraju DH <siddarajudh@gmail.com>
Applied, thanks.
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-07-23 15:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-19 16:36 [PATCH] timekeeping.txt: Correct maxCount of n-bit binary counter Siddaraju DH
2018-07-23 15:33 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).