From: William Lee Irwin III cpu_present_map is a cpumask_t. Sweep arch/sparc/kernel/sun4d_smp.c so that it is treated as such. Signed-off-by: Andrew Morton --- 25-akpm/arch/sparc/kernel/sun4d_smp.c | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff -puN arch/sparc/kernel/sun4d_smp.c~sparc32-sun4d-cpu_present_map-is-a-cpumask_t arch/sparc/kernel/sun4d_smp.c --- 25/arch/sparc/kernel/sun4d_smp.c~sparc32-sun4d-cpu_present_map-is-a-cpumask_t 2004-08-04 22:37:31.746536760 -0700 +++ 25-akpm/arch/sparc/kernel/sun4d_smp.c 2004-08-04 22:37:31.750536152 -0700 @@ -43,7 +43,6 @@ extern ctxd_t *srmmu_ctx_table_phys; extern void calibrate_delay(void); extern volatile int smp_processors_ready; -extern unsigned long cpu_present_map; extern int smp_num_cpus; static int smp_highest_cpu; extern int smp_threads_ready; @@ -172,12 +171,12 @@ void __init smp4d_boot_cpus(void) current_set[0] = NULL; local_irq_enable(); - cpu_present_map = 0; + cpus_clear(cpu_present_map); /* XXX This whole thing has to go. See sparc64. */ for (i = 0; !cpu_find_by_instance(i, NULL, &mid); i++) - cpu_present_map |= (1<