diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2007-02-10 10:46:37 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-11 20:18:07 +0100 |
commit | aa0f030374228407bc4e3f5482eeab787ba53c8a (patch) | |
tree | 8a4274e38b710caf8dd9f4beff24a2ac2722b116 /mm | |
parent | [PATCH] highmem: catch illegal nesting (diff) | |
download | linux-aa0f030374228407bc4e3f5482eeab787ba53c8a.tar.xz linux-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 = { |