]> err.no Git - linux-2.6/commit
[SPARC64]: Clear cpu_{core,sibling}_map[] in smp_fill_in_sib_core_maps()
authorDavid S. Miller <davem@sunset.davemloft.net>
Sun, 15 Jul 2007 08:29:24 +0000 (01:29 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 16 Jul 2007 11:05:19 +0000 (04:05 -0700)
commit39dd992aee381ff5077536853051fc69e58cc4a9
tree93bf853c70932031fdf372f7aaa578ea0a3a42b6
parentb37d40d1759a383208ef47be8af94ebe59031691
[SPARC64]: Clear cpu_{core,sibling}_map[] in smp_fill_in_sib_core_maps()

When we hot-plug in new cpus, the core_id and proc_id of existing
cpus can change.  So in order to set the cpu groups correctly we
need to clear the maps out completely first.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/smp.c