From 3807c1f20b5f7dca7ec7ca4bbe38bc5904e980ff Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 27 Sep 2007 20:09:40 +0000 Subject: rename splhi/spllo to pushcli/popcli --- trap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'trap.c') diff --git a/trap.c b/trap.c index 7ef32ff..0acc94b 100644 --- a/trap.c +++ b/trap.c @@ -45,7 +45,7 @@ trap(struct trapframe *tf) } // No interrupts during interrupt handling. - splhi(); + pushcli(); switch(tf->trapno){ case IRQ_OFFSET + IRQ_TIMER: @@ -84,7 +84,7 @@ trap(struct trapframe *tf) cp->killed = 1; } - spllo(); + 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 -- cgit v1.2.3