diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-03-17 21:11:59 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-03-17 21:11:59 +0000 |
commit | 2e97aa83de464c49f1c9863e9ebf4099c3888984 (patch) | |
tree | bf829f0cad8be479b5f250a98bb2105fec542540 /sys | |
parent | 3d63f7b2dc2509cd95ec4096ead8757c5992577a (diff) |
Make lcsplx() call spllower() instead of duplicating its code.
ok miod@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/macppc/macppc/machdep.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/arch/macppc/macppc/machdep.c b/sys/arch/macppc/macppc/machdep.c index 78b1707a75f..973f3c0f4ba 100644 --- a/sys/arch/macppc/macppc/machdep.c +++ b/sys/arch/macppc/macppc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.87 2007/02/27 01:04:03 deraadt Exp $ */ +/* $OpenBSD: machdep.c,v 1.88 2007/03/17 21:11:58 kettenis Exp $ */ /* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */ /* @@ -976,11 +976,7 @@ softnet(int isr) int lcsplx(int ipl) { - int oldcpl; - - oldcpl = cpl; - splx(ipl); - return oldcpl; + return spllower(ipl); } /* |