patch-2.4.0-test10 linux/arch/ppc/kernel/smp.c
Next file: linux/arch/ppc/mm/init.c
Previous file: linux/arch/ppc/kernel/prep_setup.c
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Mon Oct 16 12:58:51 2000
- Orig file:
v2.4.0-test9/linux/arch/ppc/kernel/smp.c
- Orig date:
Sun Oct 8 10:50:08 2000
diff -u --recursive --new-file v2.4.0-test9/linux/arch/ppc/kernel/smp.c linux/arch/ppc/kernel/smp.c
@@ -41,8 +41,8 @@
#include <asm/time.h>
#include "open_pic.h"
-int smp_threads_ready = 0;
-volatile int smp_commenced = 0;
+int smp_threads_ready;
+volatile int smp_commenced;
int smp_num_cpus = 1;
struct cpuinfo_PPC cpu_data[NR_CPUS];
struct klock_info_struct klock_info = { KLOCK_CLEAR, 0 };
@@ -54,10 +54,10 @@
cycles_t cacheflush_time;
/* this has to go in the data section because it is accessed from prom_init */
-int smp_hw_index[NR_CPUS] = {0};
+int smp_hw_index[NR_CPUS];
/* all cpu mappings are 1-1 -- Cort */
-volatile unsigned long cpu_callin_map[NR_CPUS] = {0,};
+volatile unsigned long cpu_callin_map[NR_CPUS];
int start_secondary(void *);
extern int cpu_idle(void *unused);
@@ -226,7 +226,7 @@
atomic_t started;
atomic_t finished;
int wait;
-} *call_data = NULL;
+} *call_data;
/*
* this function sends a 'generic call function' IPI to all other CPUs
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)