/* smp.c: Sparc64 SMP support. * * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) */#include<linux/module.h>#include<linux/kernel.h>#include<linux/sched.h>#include<linux/mm.h>#include<linux/pagemap.h>#include<linux/threads.h>#include<linux/smp.h>#include<linux/smp_lock.h>#include<linux/interrupt.h>#include<linux/kernel_stat.h>#include<linux/delay.h>#include<linux/init.h>#include<linux/spinlock.h>#include<linux/fs.h>#include<linux/seq_file.h>#include<linux/cache.h>#include<linux/jiffies.h>#include<linux/profile.h>#include<linux/bootmem.h>#include<asm/head.h>#include<asm/ptrace.h>#include<asm/atomic.h>#include<asm/tlbflush.h>#include<asm/mmu_context.h>#include<asm/cpudata.h>#include<asm/irq.h>#include<asm/page.h>#include<asm/pgtable.h>#include<asm/oplib.h>#include<asm/uaccess.h>#include<asm/timer.h>#include<asm/starfire.h>#include<asm/tlb.h>#include<asm/sections.h>#include<asm/prom.h>externvoidcalibrate_delay(void);/* Please don't make this stuff initdata!!! --DaveM */staticunsignedcharboot_cpu_id;cpumask_tcpu_online_map__read_mostly=CPU_MASK_NONE;cpumask_tphys_cpu_present_map__read_mostly=CPU_MASK_NONE;cpumask_tcpu_sibling_map[NR_CPUS]__read_mostly={[0...NR_CPUS-1]=CPU_MASK_NONE};staticcpumask_tsmp_commenced_mask;staticcpumask_tcpu_call