Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa0f0303 authored by Paul E. McKenney's avatar Paul E. McKenney Committed by Linus Torvalds
Browse files

[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: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 656dad31
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -515,7 +515,7 @@ static int __cpuinit
ratelimit_handler(struct notifier_block *self, unsigned long u, void *v)
ratelimit_handler(struct notifier_block *self, unsigned long u, void *v)
{
{
	writeback_set_ratelimit();
	writeback_set_ratelimit();
	return 0;
	return NOTIFY_DONE;
}
}


static struct notifier_block __cpuinitdata ratelimit_nb = {
static struct notifier_block __cpuinitdata ratelimit_nb = {