diff options
| author | Scott Long <scottl@FreeBSD.org> | 2004-11-03 18:03:06 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2004-11-03 18:03:06 +0000 |
| commit | 0971df6e145e4f4fededd2b91b1b86a77376fb8f (patch) | |
| tree | 9b1cd1f736d7cd330912bc03f40b1712783bac4c /sys/amd64 | |
| parent | dee651eb15eb85ae1b3bd54056277d1dde58d129 (diff) | |
Notes
Diffstat (limited to 'sys/amd64')
| -rw-r--r-- | sys/amd64/amd64/intr_machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/amd64/intr_machdep.c b/sys/amd64/amd64/intr_machdep.c index 85249433e752..ea4bbdd5eefe 100644 --- a/sys/amd64/amd64/intr_machdep.c +++ b/sys/amd64/amd64/intr_machdep.c @@ -166,8 +166,8 @@ intr_execute_handlers(struct intsrc *isrc, struct intrframe *iframe) * argument for counting hardware interrupts when they're * processed too. */ - atomic_add_long(isrc->is_count, 1); - atomic_add_int(&cnt.v_intr, 1); + (*isrc->is_count)++; + cnt.v_intr++; it = isrc->is_ithread; if (it == NULL) @@ -219,7 +219,7 @@ intr_execute_handlers(struct intsrc *isrc, struct intrframe *iframe) error = ithread_schedule(it); } if (error == EINVAL) { - atomic_add_long(isrc->is_straycount, 1); + (*isrc->is_straycount)++; if (*isrc->is_straycount < MAX_STRAY_LOG) log(LOG_ERR, "stray irq%d\n", vector); else if (*isrc->is_straycount == MAX_STRAY_LOG) |
