public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Change constant zero to NOTIFY_DONE in ratelimit_handler()
@ 2007-01-30  3:00 Paul E. McKenney
  0 siblings, 0 replies; only message in thread
From: Paul E. McKenney @ 2007-01-30  3:00 UTC (permalink / raw)
  To: akpm; +Cc: mingo, dipankar, ego, linux-kernel

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 = {

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

only message in thread, other threads:[~2007-01-30  3:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-30  3:00 [PATCH] Change constant zero to NOTIFY_DONE in ratelimit_handler() Paul E. McKenney

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