]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/smp: Remove unnecessary variable
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Mon, 19 Oct 2020 04:27:15 +0000 (09:57 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 19 Oct 2020 10:32:34 +0000 (21:32 +1100)
commit24a8f82c9b7862fcc583c12d82a811bc7f18d3b1
treefead8e6ada75324f84d8a8ef963f09a9b0c2e06b
parent81336c10a596eb0c2c092ecefdc1007ec5b62f30
powerpc/smp: Remove unnecessary variable

Commit ccaa1dd110bc ("powerpc/smp: Optimize update_mask_by_l2")
introduced submask_fn in update_mask_by_l2 to track the right submask.
However commit 9485bb9123a3 ("powerpc/smp: Dont assume l2-cache to be
superset of sibling") introduced sibling_mask in update_mask_by_l2 to
track the same submask. Remove sibling_mask in favour of submask_fn.

Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201019042716.106234-2-srikar@linux.vnet.ibm.com
arch/powerpc/kernel/smp.c