summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorskrll <skrll@NetBSD.org>2021-03-04 07:24:38 +0000
committerskrll <skrll@NetBSD.org>2021-03-04 07:24:38 +0000
commit52d23347607ed005b0b292abf5b7cefd39da6cc7 (patch)
treeb2b811548cfb390c7e0c5461ebeb2ce8af192a42 /sys/dev/ic
parent82f5a1eb5c9b8dd1256dfd84ff06b397e83a437a (diff)
Use __BIT(). NFC.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/ahcisata_core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/ahcisata_core.c b/sys/dev/ic/ahcisata_core.c
index cdd23b738b2..9b4099e62ec 100644
--- a/sys/dev/ic/ahcisata_core.c
+++ b/sys/dev/ic/ahcisata_core.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ahcisata_core.c,v 1.95 2021/01/11 16:48:35 skrll Exp $ */
+/* $NetBSD: ahcisata_core.c,v 1.96 2021/03/04 07:24:38 skrll Exp $ */
/*
* Copyright (c) 2006 Manuel Bouyer.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ahcisata_core.c,v 1.95 2021/01/11 16:48:35 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ahcisata_core.c,v 1.96 2021/03/04 07:24:38 skrll Exp $");
#include <sys/types.h>
#include <sys/malloc.h>
@@ -604,7 +604,7 @@ ahci_intr(void *v)
while ((bit = ffs(ports)) != 0) {
bit--;
ahci_intr_port_common(&sc->sc_channels[bit].ata_channel);
- ports &= ~(1U << bit);
+ ports &= ~__BIT(bit);
}
AHCI_WRITE(sc, AHCI_IS, is);
}