]> git.baikalelectronics.ru Git - kernel.git/commit
clarify a usage constraint for cnt32_to_63()
authorNicolas Pitre <nico@fluxnic.net>
Mon, 20 Dec 2010 05:29:32 +0000 (00:29 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Dec 2010 17:07:35 +0000 (09:07 -0800)
commit3715fb2683453f083c1387242f367ec432f1e8cf
tree6c3e9f15d0002b571194e0330b0c381b534c61b2
parent44f8393f3946424e00483b9e336e4aae5cedc232
clarify a usage constraint for cnt32_to_63()

The cnt32_to_63 algorithm relies on proper counter data evaluation
ordering to work properly. This was missing from the provided
documentation.

Let's augment the documentation with the missing usage constraint and
fix the only instance that got it wrong.

Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mn10300/kernel/time.c
include/linux/cnt32_to_63.h