diff options
author | marius <marius@FreeBSD.org> | 2008-09-18 14:17:10 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2008-09-18 14:17:10 +0000 |
commit | 3e1ee36fc1fe4ad8617d13626b44a93fd5d5c6d5 (patch) | |
tree | 2dba50b806b6ec4a7e4684d7aa22abca5f715f4e /sys | |
parent | 22c689e9c4cef7090cc7ccbfffdfdb69de28c69d (diff) | |
download | FreeBSD-src-3e1ee36fc1fe4ad8617d13626b44a93fd5d5c6d5.zip FreeBSD-src-3e1ee36fc1fe4ad8617d13626b44a93fd5d5c6d5.tar.gz |
- Add a missing prototype.
- Remove a banal comment.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sparc64/sparc64/intr_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sparc64/sparc64/intr_machdep.c b/sys/sparc64/sparc64/intr_machdep.c index f3a1f44..60c3e4f 100644 --- a/sys/sparc64/sparc64/intr_machdep.c +++ b/sys/sparc64/sparc64/intr_machdep.c @@ -110,6 +110,7 @@ static struct mtx intrcnt_lock; static int assign_cpu; static void intr_assign_next_cpu(struct intr_vector *iv); +static void intr_shuffle_irqs(void *arg __unused); #endif static int intr_assign_cpu(void *arg, u_char cpu); @@ -467,7 +468,7 @@ intr_add_cpu(u_int cpu) /* * Distribute all the interrupt sources among the available CPUs once the - * AP's have been launched. + * APs have been launched. */ static void intr_shuffle_irqs(void *arg __unused) @@ -480,7 +481,6 @@ intr_shuffle_irqs(void *arg __unused) if (mp_ncpus == 1) return; - /* Round-robin assign a CPU to each enabled source. */ sx_xlock(&intr_table_lock); assign_cpu = 1; for (i = 0; i < IV_MAX; i++) { |