]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[S390] cpu topology: fix cpu_core_map initialization
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 25 Dec 2008 12:37:57 +0000 (13:37 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 25 Dec 2008 12:38:07 +0000 (13:38 +0100)
commit5439050f9f1aa92381ab9beccbea6ddf0c687c2b
treeff60baccf42c58a4268463ad841f806e4048ae26
parent4a6908a3a050aacc9c3a2f36b276b46c0629ad91
[S390] cpu topology: fix cpu_core_map initialization

Common code doesn't call arch_update_cpu_topology() anymore on
cpu hotplug. But our architecture backend relied on that in order to
update the cpu_core_map. For machines without cpu topology support
this leads uninitialized cpu_core_maps for later on added cpus.

To solve this just initialize the maps with cpu_possible_map, since
that will be always valid for machines without topology support.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/topology.c