mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lucas Correia Villa Real <lucasvr@gobolinux.org>
To: linux-kernel@vger.kernel.org
Cc: gud@eth.net
Subject: [PATCH] fix rwlock usage example
Date: Sun, 15 Jan 2006 23:34:25 -0200	[thread overview]
Message-ID: <200601152334.25052.lucasvr@gobolinux.org> (raw)

[-- 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);
 	...
    }
 

                 reply	other threads:[~2006-01-16  1:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200601152334.25052.lucasvr@gobolinux.org \
    --to=lucasvr@gobolinux.org \
    --cc=gud@eth.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®