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-Url: https://git.stricted.de/?a=commitdiff_plain;h=aa0f030374228407bc4e3f5482eeab787ba53c8a;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.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 fd96a555e500..f7e088f5a309 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 = {