From: Tejun Heo <tj@kernel.org>
To: Oleg Nesterov <oleg@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
Dmitry Torokhov <dmitry.torokhov@gmail.com>,
Samu Onkalo <samu.p.onkalo@nokia.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] workqueues: s/2/WORK_STRUCT_STATIC/ in WORK_DATA_STATIC_INIT()
Date: Thu, 25 Feb 2010 12:09:26 +0900 [thread overview]
Message-ID: <4B85E9E6.9050306@kernel.org> (raw)
In-Reply-To: <20100224202038.GA26998@redhat.com>
Hello,
On 02/25/2010 05:20 AM, Oleg Nesterov wrote:
> Cosmetic. Don't hide WORK_STRUCT_STATIC from grep.
>
> Signed-off-by: Oleg Nesterov <oleg@redhat.com>
> ---
>
> include/linux/workqueue.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- wq/include/linux/workqueue.h~3_STATIC_INIT_USE_STATIC 2010-02-24 20:33:43.000000000 +0100
> +++ wq/include/linux/workqueue.h 2010-02-24 21:01:20.000000000 +0100
> @@ -36,7 +36,7 @@ struct work_struct {
> };
>
> #define WORK_DATA_INIT() ATOMIC_LONG_INIT(0)
> -#define WORK_DATA_STATIC_INIT() ATOMIC_LONG_INIT(2)
> +#define WORK_DATA_STATIC_INIT() ATOMIC_LONG_INIT(1UL << WORK_STRUCT_STATIC)
I already have this in my cmwq patches.
Thanks.
--
tejun
prev parent reply other threads:[~2010-02-25 3:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-24 20:20 [PATCH 3/3] workqueues: s/2/WORK_STRUCT_STATIC/ in WORK_DATA_STATIC_INIT() Oleg Nesterov
2010-02-25 3:09 ` Tejun Heo [this message]
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=4B85E9E6.9050306@kernel.org \
--to=tj@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oleg@redhat.com \
--cc=samu.p.onkalo@nokia.com \
/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