mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] fix rwlock usage example
@ 2006-01-16  1:34 Lucas Correia Villa Real
  0 siblings, 0 replies; only message in thread
From: Lucas Correia Villa Real @ 2006-01-16  1:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: gud

[-- Attachment #1: Type: text/plain, Size: 202 bytes --]

Hi there,

This is a trivial patch which fixes a typo on rwlock usage under 
Documentation/spinlocks.txt.

Signed-Off-By: Lucas Correia Villa Real <lucasvr@gobolinux.org>

-- 
Lucas
powered by /dev/dsp

[-- Attachment #2: 03-Documentation-spinlocks.patch --]
[-- Type: text/x-diff, Size: 387 bytes --]

--- linux-2.6.15-git11/Documentation/spinlocks.txt	2006-01-03 01:21:10.000000000 -0200
+++ linux-2.6.15-git11-lucasvr/Documentation/spinlocks.txt	2006-01-15 23:09:28.000000000 -0200
@@ -9,7 +9,7 @@ removed soon. So for any new code dynami
    static int __init xxx_init(void)
    {
    	spin_lock_init(&xxx_lock);
-	rw_lock_init(&xxx_rw_lock);
+	rwlock_init(&xxx_rw_lock);
 	...
    }
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-16  1:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-16  1:34 [PATCH] fix rwlock usage example Lucas Correia Villa Real

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®