don't globally define ipi_bitmap_handler on xen

This commit is contained in:
Kip Macy 2008-10-21 08:01:19 +00:00
parent 764b7ef593
commit 7814418ad1
2 changed files with 4 additions and 1 deletions

View File

@ -270,6 +270,7 @@ IDTVEC(invlcache)
/*
* Handler for IPIs sent via the per-cpu IPI bitmap.
*/
#ifndef XEN
.text
SUPERALIGN_TEXT
IDTVEC(ipi_intr_bitmap_handler)
@ -284,7 +285,7 @@ IDTVEC(ipi_intr_bitmap_handler)
call ipi_bitmap_handler
MEXITCOUNT
jmp doreti
#endif
/*
* Executed by a CPU when it receives an IPI_STOP from another CPU.
*/

View File

@ -66,7 +66,9 @@ void cpustop_handler(void);
void init_secondary(void);
void ipi_selected(u_int cpus, u_int ipi);
void ipi_all_but_self(u_int ipi);
#ifndef XEN
void ipi_bitmap_handler(struct trapframe frame);
#endif
u_int mp_bootaddress(u_int);
int mp_grab_cpu_hlt(void);
void smp_cache_flush(void);