From 5eec707368a91687c5e8ff7941ab6df5bf9e7fa3 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 6 Aug 2012 23:56:10 +0200 Subject: pci.c: reserve pci membars after assinging them for *nobios= option --- sys/src/9/pc/pci.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/src/9/pc/pci.c b/sys/src/9/pc/pci.c index 370a7bd50..a2915da1d 100644 --- a/sys/src/9/pc/pci.c +++ b/sys/src/9/pc/pci.c @@ -1050,11 +1050,10 @@ pcicfginit(void) pcibusmap(pciroot, &mema, &ioa, 1); DBG("Sizes2: mem=%lux io=%lux\n", mema, ioa); - unlock(&pcicfginitlock); - return; + goto out; } - if (!nopcirouting) + if(!nopcirouting) pcirouting(); out: -- cgit v1.2.3