Rename COUNT_IPI to INTR_IPI_COUNT to reduce the diff with intrng.

Obtained from:	ABT Systems Ltd
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Andrew Turner 2016-03-18 16:29:58 +00:00
parent 4d00d27b3a
commit a9056bbb93
2 changed files with 4 additions and 4 deletions

View File

@ -179,7 +179,7 @@ release_aps(void *dummy __unused)
int cpu, i;
/* Setup the IPI handler */
for (i = 0; i < COUNT_IPI; i++)
for (i = 0; i < INTR_IPI_COUNT; i++)
arm_setup_ipihandler(ipi_handler, i);
atomic_store_rel_int(&aps_ready, 1);
@ -238,7 +238,7 @@ init_secondary(uint64_t cpu)
/* Configure the interrupt controller */
arm_init_secondary();
for (i = 0; i < COUNT_IPI; i++)
for (i = 0; i < INTR_IPI_COUNT; i++)
arm_unmask_ipi(i);
/* Start per-CPU event timers. */
@ -277,7 +277,7 @@ ipi_handler(void *arg)
u_int cpu, ipi;
arg = (void *)((uintptr_t)arg & ~(1 << 16));
KASSERT((uintptr_t)arg < COUNT_IPI,
KASSERT((uintptr_t)arg < INTR_IPI_COUNT,
("Invalid IPI %ju", (uintptr_t)arg));
cpu = PCPU_GET(cpuid);

View File

@ -42,7 +42,7 @@ enum {
IPI_STOP,
IPI_STOP_HARD,
IPI_HARDCLOCK,
COUNT_IPI,
INTR_IPI_COUNT,
};
void ipi_all_but_self(u_int ipi);