diff options
| author | Warner Losh <imp@FreeBSD.org> | 2008-12-07 18:32:09 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2008-12-07 18:32:09 +0000 |
| commit | 3e7d0bebac143f9852853b0c419e8f4347f30de7 (patch) | |
| tree | 83326ac75581ce5edea7b4da7722aa9ceb81c9d8 /sys/dev/pccbb | |
| parent | 7b603a4ac760784584689a26b5ddddf3717583cd (diff) | |
Notes
Diffstat (limited to 'sys/dev/pccbb')
| -rw-r--r-- | sys/dev/pccbb/pccbb_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pccbb/pccbb_pci.c b/sys/dev/pccbb/pccbb_pci.c index 5d389213c882..8c64ef786a72 100644 --- a/sys/dev/pccbb/pccbb_pci.c +++ b/sys/dev/pccbb/pccbb_pci.c @@ -730,7 +730,7 @@ cbb_pci_filt(void *arg) if (sockevent & CBB_SOCKET_EVENT_POWER) { cbb_clrb(sc, CBB_SOCKET_MASK, CBB_SOCKET_EVENT_POWER); cbb_set(sc, CBB_SOCKET_EVENT, CBB_SOCKET_EVENT_POWER); - sc->powerintr++; + atomic_add_int(&sc->powerintr, 1); wakeup((void *)&sc->powerintr); } retval = FILTER_HANDLED; |
