diff options
Diffstat (limited to 'trap.c')
-rw-r--r-- | trap.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -44,9 +44,6 @@ trap(struct trapframe *tf) return; } - // No interrupts during interrupt handling. - pushcli(); - switch(tf->trapno){ case IRQ_OFFSET + IRQ_TIMER: if(cpu() == 0){ @@ -84,8 +81,6 @@ trap(struct trapframe *tf) cp->killed = 1; } - popcli(); - // Force process exit if it has been killed and is in user space. // (If it is still executing in the kernel, let it keep running // until it gets to the regular system call return.) |