Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5fec811e authored by Krzysztof Helt's avatar Krzysztof Helt Committed by David S. Miller
Browse files

[SPARC]: Small smp cleanup.



It moves the smp_procesors_ready variable to sun4d_smp.c only.

Signed-off-by: default avatarKrzysztof Helt <(krzysztof.h1@wp.pl)>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a23b423e
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -34,7 +34,6 @@
#include <asm/tlbflush.h>
#include <asm/cpudata.h>

volatile int smp_processors_ready = 0;
int smp_num_cpus = 1;
volatile unsigned long cpu_callin_map[NR_CPUS] __initdata = {0,};
unsigned char boot_cpu_id = 0;
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ extern ctxd_t *srmmu_ctx_table_phys;

extern void calibrate_delay(void);

extern volatile int smp_processors_ready;
static volatile int smp_processors_ready = 0;
static int smp_highest_cpu;
extern volatile unsigned long cpu_callin_map[NR_CPUS];
extern cpuinfo_sparc cpu_data[NR_CPUS];
+0 −2
Original line number Diff line number Diff line
@@ -39,7 +39,6 @@ extern ctxd_t *srmmu_ctx_table_phys;

extern void calibrate_delay(void);

extern volatile int smp_processors_ready;
extern volatile unsigned long cpu_callin_map[NR_CPUS];
extern unsigned char boot_cpu_id;

@@ -217,7 +216,6 @@ void __init smp4m_smp_done(void)
	}

	/* Ok, they are spinning and ready to go. */
	smp_processors_ready = 1;
}

/* At each hardware IRQ, we get this called to forward IRQ reception