powerpc/mm/numa: Fix break placement
authorAndrey Utkin <[email protected]>
Mon, 4 Aug 2014 20:13:10 +0000 (23:13 +0300)
committerBenjamin Herrenschmidt <[email protected]>
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 <[email protected]>
Signed-off-by: Andrey Utkin <[email protected]>
CC: <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
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;