diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2007-02-10 01:46:37 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 11:18:07 -0800 |
commit | aa0f030374228407bc4e3f5482eeab787ba53c8a (patch) | |
tree | 8a4274e38b710caf8dd9f4beff24a2ac2722b116 /mm | |
parent | 656dad312fb41ed95ef08325e9df9bece3aacbbb (diff) | |
download | kernel-common-aa0f030374228407bc4e3f5482eeab787ba53c8a.tar.gz kernel-common-aa0f030374228407bc4e3f5482eeab787ba53c8a.tar.bz2 kernel-common-aa0f030374228407bc4e3f5482eeab787ba53c8a.zip |
[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 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 = { |