powerpc/mm/numa: Fix break placement
authorAndrey Utkin <andrey.krieger.utkin@gmail.com>
Mon, 4 Aug 2014 20:13:10 +0000 (23:13 +0300)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 5 Aug 2014 05:39:50 +0000 (15:39 +1000)
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>
CC: <stable@vger.kernel.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/mm/numa.c

index 3b181b22cd469b1990305a95c8164340f5441c7c..d3e9a78eaed3e1b6f073a9c266b2e6c65b13073b 100644 (file)
@@ -611,8 +611,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;