summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Utkin <andrey.krieger.utkin@gmail.com>2014-08-04 23:13:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-17 09:19:10 -0700
commit25c2dc614a5d8ea87bb9fbc9ed7f56cb9e966363 (patch)
tree3aaf261af56c25dde2f70f41b65cd893fe26ce94
parent89746afcbd50794456968318ed59c5c6455ab370 (diff)
downloadlinux-stable-25c2dc614a5d8ea87bb9fbc9ed7f56cb9e966363.tar.gz
linux-stable-25c2dc614a5d8ea87bb9fbc9ed7f56cb9e966363.tar.bz2
linux-stable-25c2dc614a5d8ea87bb9fbc9ed7f56cb9e966363.zip
powerpc/mm/numa: Fix break placement
commit b00fc6ec1f24f9d7af9b8988b6a198186eb3408c upstream. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=81631 Reported-by: David Binderman <dcb314@hotmail.com> Signed-off-by: Andrey Utkin <andrey.krieger.utkin@gmail.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/powerpc/mm/numa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index 30a42e24bf14..a5fff173be4f 100644
--- a/arch/powerpc/mm/numa.c
+++ b/arch/powerpc/mm/numa.c
@@ -610,8 +610,8 @@ static int cpu_numa_callback(struct notifier_block *nfb, unsigned long action,
case CPU_UP_CANCELED:
case CPU_UP_CANCELED_FROZEN:
unmap_cpu_from_node(lcpu);
- break;
ret = NOTIFY_OK;
+ break;
#endif
}
return ret;