Make this compile under option SMP.
This commit is contained in:
parent
76e296aa31
commit
5b8c64dd2c
@ -38,12 +38,15 @@
|
||||
#include <sys/smp.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
#include <vm/vm.h>
|
||||
#include <vm/pmap.h>
|
||||
|
||||
#include <machine/atomic.h>
|
||||
#include <machine/globaldata.h>
|
||||
#include <machine/pmap.h>
|
||||
#include <machine/clock.h>
|
||||
|
||||
int boot_cpu_id;
|
||||
int boot_cpu_id;
|
||||
|
||||
int
|
||||
cpu_mp_probe()
|
||||
@ -66,7 +69,7 @@ cpu_mp_announce()
|
||||
* send an IPI to a set of cpus.
|
||||
*/
|
||||
void
|
||||
ipi_selected(u_int32_t cpus, u_int64_t ipi)
|
||||
ipi_selected(u_int cpus, u_int64_t ipi)
|
||||
{
|
||||
|
||||
CTR2(KTR_SMP, "ipi_selected: cpus: %x ipi: %lx", cpus, ipi);
|
||||
|
@ -22,10 +22,10 @@ extern volatile u_int checkstate_probed_cpus;
|
||||
extern volatile u_int checkstate_need_ast;
|
||||
extern volatile u_int resched_cpus;
|
||||
|
||||
void ipi_selected(u_int cpus, u_int ipi);
|
||||
void ipi_all(u_int ipi);
|
||||
void ipi_all_but_self(u_int ipi);
|
||||
void ipi_self(u_int ipi);
|
||||
void ipi_all(u_int64_t ipi);
|
||||
void ipi_all_but_self(u_int64_t ipi);
|
||||
void ipi_selected(u_int cpus, u_int64_t ipi);
|
||||
void ipi_self(u_int64_t ipi);
|
||||
void smp_init_secondary(void);
|
||||
|
||||
#endif /* !LOCORE */
|
||||
|
Loading…
Reference in New Issue
Block a user