]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Re: "big IRQ lock" removal docs
authorRobert Love <rml@tech9.net>
Sun, 21 Jul 2002 11:07:56 +0000 (04:07 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sun, 21 Jul 2002 11:07:56 +0000 (04:07 -0700)
One more doc correction while we are at it...

Documentation/preempt-locking.txt

index a9eac1c15718b514ac76ccfae0734da281dfbf2a..580814915c70e968eead8609057077cf086f1355 100644 (file)
@@ -70,7 +70,8 @@ duration of the critical region.
 preempt_enable()               decrement the preempt counter
 preempt_disable()              increment the preempt counter
 preempt_enable_no_resched()    decrement, but do not immediately preempt
-preempt_get_count()            return the preempt counter
+preempt_check_resched()                if needed, reschedule
+preempt_count()                        return the preempt counter
 
 The functions are nestable.  In other words, you can call preempt_disable
 n-times in a code path, and preemption will not be reenabled until the n-th