From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: akpm@osdl.org
Cc: mingo@elte.hu, dipankar@in.ibm.com, ego@linux.vnet.ibm.com,
linux-kernel@vger.kernel.org
Subject: [PATCH] Change constant zero to NOTIFY_DONE in ratelimit_handler()
Date: Mon, 29 Jan 2007 19:00:31 -0800 [thread overview]
Message-ID: <20070130030030.GA2839@linux.vnet.ibm.com> (raw)
Hello!
Change a hard-coded constant 0 to the symbolic equivalent NOTIFY_DONE
in the ratelimit_handler() CPU notifier handler function.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
---
page-writeback.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -urpNa -X dontdiff linux-2.6.20-rc6/mm/page-writeback.c linux-2.6.20-rc6-ratelimit_handler-fix/mm/page-writeback.c
--- linux-2.6.20-rc6/mm/page-writeback.c 2007-01-29 16:34:16.000000000 -0800
+++ linux-2.6.20-rc6-ratelimit_handler-fix/mm/page-writeback.c 2007-01-29 18:04:16.000000000 -0800
@@ -517,7 +517,7 @@ static int __cpuinit
ratelimit_handler(struct notifier_block *self, unsigned long u, void *v)
{
writeback_set_ratelimit();
- return 0;
+ return NOTIFY_DONE;
}
static struct notifier_block __cpuinitdata ratelimit_nb = {
reply other threads:[~2007-01-30 3:00 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=20070130030030.GA2839@linux.vnet.ibm.com \
--to=paulmck@linux.vnet.ibm.com \
--cc=akpm@osdl.org \
--cc=dipankar@in.ibm.com \
--cc=ego@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.