summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/ds.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-05-26 22:37:25 -0700
committerDavid S. Miller <davem@davemloft.net>2009-06-16 04:56:22 -0700
commitb696fdc259f0d94348a9327bed352fac44d4883d (patch)
tree8fed30584b6fcd5c6cb64f5091add9fd385394a1 /arch/sparc/kernel/ds.c
parenta2094502dce23e9ace04d49702aa7a4d5996df55 (diff)
downloadop-kernel-dev-b696fdc259f0d94348a9327bed352fac44d4883d.zip
op-kernel-dev-b696fdc259f0d94348a9327bed352fac44d4883d.tar.gz
sparc64: Defer cpu_data() setup until end of per-cpu data initialization.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/ds.c')
-rw-r--r--arch/sparc/kernel/ds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/ds.c b/arch/sparc/kernel/ds.c
index 51b05c4..4a700f4 100644
--- a/arch/sparc/kernel/ds.c
+++ b/arch/sparc/kernel/ds.c
@@ -544,6 +544,7 @@ static int __cpuinit dr_cpu_configure(struct ds_info *dp,
resp_len, ncpus, mask,
DR_CPU_STAT_CONFIGURED);
+ mdesc_populate_present_mask(mask);
mdesc_fill_in_cpu_data(mask);
for_each_cpu_mask(cpu, *mask) {
OpenPOWER on IntegriCloud