diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2019-01-07 23:44:12 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2019-01-07 23:44:12 +0000 |
commit | 26d350937c251097d923bee5547bad5db6ee6463 (patch) | |
tree | dd2a7319e391171fba465aac55310d10be0279db | |
parent | 4b343b08b415591af499f18323dd4dcb8f30f34d (diff) |
Extents code has its own set of flags and does not use malloc's.
The code in pci_init_extents() accidently passed M_NOWAIT which is
EX_FAST and does no harm. Replace it with EX_NOWAIT.
from Christian Ludwig; OK kettenis@
-rw-r--r-- | sys/arch/i386/pci/pci_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/pci_machdep.c b/sys/arch/i386/pci/pci_machdep.c index b712ff242ed..0e4416af08e 100644 --- a/sys/arch/i386/pci/pci_machdep.c +++ b/sys/arch/i386/pci/pci_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_machdep.c,v 1.84 2018/08/19 08:23:47 kettenis Exp $ */ +/* $OpenBSD: pci_machdep.c,v 1.85 2019/01/07 23:44:11 bluhm Exp $ */ /* $NetBSD: pci_machdep.c,v 1.28 1997/06/06 23:29:17 thorpej Exp $ */ /*- @@ -915,7 +915,7 @@ pci_init_extents(void) NULL, 0, EX_NOWAIT | EX_FILLED); if (pciio_ex == NULL) return; - extent_free(pciio_ex, 0, 0x10000, M_NOWAIT); + extent_free(pciio_ex, 0, 0x10000, EX_NOWAIT); } if (pcimem_ex == NULL) { |