From 0a48863d443ae26155655a9a904192b074ea9131 Mon Sep 17 00:00:00 2001 From: Kanoj Sarcar Date: Sun, 26 Mar 2000 20:53:58 +0000 Subject: Mostly cosmetic changes. --- arch/mips64/kernel/smp.c | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/arch/mips64/kernel/smp.c b/arch/mips64/kernel/smp.c index 7888fa01d..05931794d 100644 --- a/arch/mips64/kernel/smp.c +++ b/arch/mips64/kernel/smp.c @@ -12,8 +12,13 @@ /* The 'big kernel lock' */ spinlock_t kernel_flag = SPIN_LOCK_UNLOCKED; - -int smp_threads_ready = 0; +int smp_threads_ready = 0; /* Not used */ +static atomic_t smp_commenced = ATOMIC_INIT(0); +struct cpuinfo_mips cpu_data[NR_CPUS]; +int smp_num_cpus; /* Number that came online. */ +int __cpu_number_map[NR_CPUS]; +int __cpu_logical_map[NR_CPUS]; +cycles_t cacheflush_time; static void smp_tune_scheduling (void) { @@ -25,14 +30,9 @@ void __init smp_boot_cpus(void) current->processor = 0; init_idle(); smp_tune_scheduling(); + smp_num_cpus = 1; /* for now */ } -static atomic_t smp_commenced = ATOMIC_INIT(0); - -struct cpuinfo_mips cpu_data[NR_CPUS]; - -int smp_num_cpus = 1; /* Number that came online. */ - void __init smp_commence(void) { wmb(); @@ -60,13 +60,9 @@ void smp_send_stop(void) */ void smp_send_reschedule(int cpu) { + panic("smp_send_reschedule\n"); } -int __cpu_number_map[NR_CPUS]; -int __cpu_logical_map[NR_CPUS]; - -cycles_t cacheflush_time; - /* Not really SMP stuff ... */ int setup_profiling_timer(unsigned int multiplier) { @@ -87,4 +83,5 @@ int smp_call_function (void (*func) (void *info), void *info, int retry, int wait) { /* XXX - kinda important ;-) */ + panic("smp_call_function\n"); } -- cgit v1.2.3