diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2007-02-10 04:46:37 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 14:18:07 -0500 |
commit | aa0f030374228407bc4e3f5482eeab787ba53c8a (patch) | |
tree | 8a4274e38b710caf8dd9f4beff24a2ac2722b116 /mm | |
parent | 656dad312fb41ed95ef08325e9df9bece3aacbbb (diff) |
[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 <paulmck@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page-writeback.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
515 | ratelimit_handler(struct notifier_block *self, unsigned long u, void *v) | 515 | ratelimit_handler(struct notifier_block *self, unsigned long u, void *v) |
516 | { | 516 | { |
517 | writeback_set_ratelimit(); | 517 | writeback_set_ratelimit(); |
518 | return 0; | 518 | return NOTIFY_DONE; |
519 | } | 519 | } |
520 | 520 | ||
521 | static struct notifier_block __cpuinitdata ratelimit_nb = { | 521 | static struct notifier_block __cpuinitdata ratelimit_nb = { |