feat/start
rsc 2006-09-08 15:34:04 +00:00
parent b02e13f0f6
commit e936743429
1 changed files with 1 additions and 0 deletions

1
trap.c
View File

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