Minor style nits: cleanup and add some function prototypes.
This commit is contained in:
parent
9a2e7f1520
commit
1c94cee872
@ -57,6 +57,11 @@ static struct mtx ap_boot_mtx;
|
|||||||
|
|
||||||
u_int boot_cpu_id;
|
u_int boot_cpu_id;
|
||||||
|
|
||||||
|
static void release_aps(void *dummy);
|
||||||
|
extern void smp_init_secondary_glue(void);
|
||||||
|
static int smp_send_secondary_command(const char *command, int cpuid);
|
||||||
|
static int smp_start_secondary(int cpuid);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Communicate with a console running on a secondary processor.
|
* Communicate with a console running on a secondary processor.
|
||||||
* Return 1 on failure.
|
* Return 1 on failure.
|
||||||
@ -207,8 +212,6 @@ smp_init_secondary(void)
|
|||||||
panic("scheduler returned us to " __func__);
|
panic("scheduler returned us to " __func__);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern void smp_init_secondary_glue(void);
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
smp_start_secondary(int cpuid)
|
smp_start_secondary(int cpuid)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user