This commit is contained in:
rsc 2006-09-08 15:34:04 +00:00
parent b02e13f0f6
commit e936743429

1
trap.c
View file

@ -43,6 +43,7 @@ trap(struct trapframe *tf)
return; return;
} }
// PAGEBREAK: 10
// Increment nlock to make sure interrupts stay off // Increment nlock to make sure interrupts stay off
// during interrupt handler. Decrement before returning. // during interrupt handler. Decrement before returning.
cpus[cpu()].nlock++; cpus[cpu()].nlock++;