From: Paul E. McKenney Date: Sat, 10 Feb 2007 09:46:37 +0000 (-0800) Subject: [PATCH] Change constant zero to NOTIFY_DONE in ratelimit_handler() X-Git-Tag: v2.6.21-rc1~274^2~249 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=aa0f030374228407bc4e3f5482eeab787ba53c8a;p=~shefty%2Frdma-dev.git [PATCH] Change constant zero to NOTIFY_DONE in ratelimit_handler() 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/page-writeback.c b/mm/page-writeback.c index fd96a555e50..f7e088f5a30 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -515,7 +515,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 = {