From 24437cd554995f729969299e72699e2ba5d9b068 Mon Sep 17 00:00:00 2001 From: kaashoek Date: Fri, 11 Aug 2006 18:18:38 +0000 Subject: fix deadlock---iput(dp) asap working unlink, but doesn't free dir blocks that become empty remove out-of-date comment in ioapic --- ioapic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ioapic.c') diff --git a/ioapic.c b/ioapic.c index b926863..0bd672a 100644 --- a/ioapic.c +++ b/ioapic.c @@ -76,7 +76,7 @@ ioapic_enable (int irq, int cpunum) ioapic_write(io, IOAPIC_REDTBL_LO(irq), l); h = ioapic_read(io, IOAPIC_REDTBL_HI(irq)); h &= ~IOART_DEST; - h |= (cpunum << APIC_ID_SHIFT); // for fun, disk interrupts to cpu 1 + h |= (cpunum << APIC_ID_SHIFT); ioapic_write(io, IOAPIC_REDTBL_HI(irq), h); cprintf("cpu%d: intr %d: lo 0x%x hi 0x%x\n", cpu(), irq, l, h); } -- cgit v1.2.3