powerpc: Pull out cpu_core_mask updates into a separate function
authorPaul Mackerras <paulus@samba.org>
Mon, 12 Aug 2013 06:28:47 +0000 (16:28 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 14 Aug 2013 05:00:16 +0000 (15:00 +1000)
commita8a5356cd511db229aeaad636dc0f83d8c4d0a15
tree97a02feae18514e48549e2e729c1756d12956469
parent630573c1da54925290cf7a4f45752f3e9876d7e0
powerpc: Pull out cpu_core_mask updates into a separate function

This factors out the details of updating cpu_core_mask into a separate
function, to make it easier to change how the mask is calculated later.
This makes no functional change.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/smp.c