From: Dipankar Sarma <dipankar@in.ibm.com>
To: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/6] files: fix rcu initializers
Date: Tue, 14 Jun 2005 19:57:35 +0530 [thread overview]
Message-ID: <20050614142735.GB4557@in.ibm.com> (raw)
In-Reply-To: <20050614142612.GA4557@in.ibm.com>
RCU head initilizer no longer needs the head varible name since
we don't use list.h lists anymore.
Signed-off-by : Dipankar Sarma <dipankar@in.ibm.com>
include/linux/rcupdate.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -puN include/linux/rcupdate.h~fix-rcu-initializer include/linux/rcupdate.h
--- linux-2.6.12-rc6-fd/include/linux/rcupdate.h~fix-rcu-initializer 2005-06-14 14:05:02.000000000 +0530
+++ linux-2.6.12-rc6-fd-dipankar/include/linux/rcupdate.h 2005-06-14 14:05:02.000000000 +0530
@@ -52,8 +52,8 @@ struct rcu_head {
void (*func)(struct rcu_head *head);
};
-#define RCU_HEAD_INIT(head) { .next = NULL, .func = NULL }
-#define RCU_HEAD(head) struct rcu_head head = RCU_HEAD_INIT(head)
+#define RCU_HEAD_INIT { .next = NULL, .func = NULL }
+#define RCU_HEAD(head) struct rcu_head head = RCU_HEAD_INIT
#define INIT_RCU_HEAD(ptr) do { \
(ptr)->next = NULL; (ptr)->func = NULL; \
} while (0)
_
next prev parent reply other threads:[~2005-06-14 14:30 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-14 14:26 [PATCH 0/6] files: scalable fd management (V4) Dipankar Sarma
2005-06-14 14:27 ` Dipankar Sarma [this message]
2005-06-14 14:28 ` [PATCH 0/6] files: rcuref APIs Dipankar Sarma
2005-06-14 14:29 ` [PATCH 3/6] files: break up files struct Dipankar Sarma
2005-06-14 14:30 ` [PATCH 4/6] files: files struct with RCU Dipankar Sarma
2005-06-14 14:31 ` [PATCH 5/6] files: lock-free fd look-up Dipankar Sarma
2005-06-14 14:32 ` [PATCH 6/6] files: files locking doc Dipankar Sarma
2005-06-14 14:33 ` [PATCH 0/6] files: rcuref APIs Dipankar Sarma
2005-06-14 14:33 ` [PATCH 0/6] files: fix rcu initializers Dipankar Sarma
2005-06-14 20:03 ` [PATCH 0/6] files: scalable fd management (V4) Andrew Morton
2005-06-14 20:12 ` Dipankar Sarma
2005-06-15 12:18 ` Dipankar Sarma
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=20050614142735.GB4557@in.ibm.com \
--to=dipankar@in.ibm.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@parcelfarce.linux.theplanet.co.uk \
/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®