diff options
author | mav <mav@FreeBSD.org> | 2010-07-02 17:22:15 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2010-07-02 17:22:15 +0000 |
commit | 395ada53131ac8579226ebb90984f8f4dda713e2 (patch) | |
tree | 10e2c87a9d684818f16f63d3f3f510e23a7d843a /sys | |
parent | afd002fb75eb03982efae57271fe29bcf1677e85 (diff) | |
download | FreeBSD-src-395ada53131ac8579226ebb90984f8f4dda713e2.zip FreeBSD-src-395ada53131ac8579226ebb90984f8f4dda713e2.tar.gz |
Revert r209638. After commit, there appeared to be more people who liked
previous name of stray interrupt counters, then responded to the list.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/intr_machdep.c | 4 | ||||
-rw-r--r-- | sys/i386/i386/intr_machdep.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/amd64/intr_machdep.c b/sys/amd64/amd64/intr_machdep.c index 3f1c2c2..3cdc69f 100644 --- a/sys/amd64/amd64/intr_machdep.c +++ b/sys/amd64/amd64/intr_machdep.c @@ -346,8 +346,8 @@ intrcnt_register(struct intsrc *is) mtx_lock_spin(&intrcnt_lock); is->is_index = intrcnt_index; intrcnt_index += 2; - snprintf(straystr, MAXCOMLEN + 1, "%s stray", - is->is_event->ie_name); + snprintf(straystr, MAXCOMLEN + 1, "stray irq%d", + is->is_pic->pic_vector(is)); intrcnt_updatename(is); is->is_count = &intrcnt[is->is_index]; intrcnt_setname(straystr, is->is_index + 1); diff --git a/sys/i386/i386/intr_machdep.c b/sys/i386/i386/intr_machdep.c index 4e30df8..35179fa 100644 --- a/sys/i386/i386/intr_machdep.c +++ b/sys/i386/i386/intr_machdep.c @@ -334,8 +334,8 @@ intrcnt_register(struct intsrc *is) mtx_lock_spin(&intrcnt_lock); is->is_index = intrcnt_index; intrcnt_index += 2; - snprintf(straystr, MAXCOMLEN + 1, "%s stray", - is->is_event->ie_name); + snprintf(straystr, MAXCOMLEN + 1, "stray irq%d", + is->is_pic->pic_vector(is)); intrcnt_updatename(is); is->is_count = &intrcnt[is->is_index]; intrcnt_setname(straystr, is->is_index + 1); |