Make this compile under option SMP.

This commit is contained in:
Marcel Moolenaar 2001-10-20 03:33:07 +00:00
parent 76e296aa31
commit 5b8c64dd2c
2 changed files with 9 additions and 6 deletions

View File

@ -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);

View File

@ -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 */