summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2003-08-21 20:45:43 +0000
committermiod <miod@openbsd.org>2003-08-21 20:45:43 +0000
commitcf72110c30ccfaf1a3adf0ac05c61fd9cf1c0d2e (patch)
treed50667fd18e6d18866a37f6dbe3eb8dbb66b455a
parentDe-obfuscate get_target(). (diff)
downloadwireguard-openbsd-cf72110c30ccfaf1a3adf0ac05c61fd9cf1c0d2e.tar.xz
wireguard-openbsd-cf72110c30ccfaf1a3adf0ac05c61fd9cf1c0d2e.zip
Use constants rather than hardcoded values for IPL levels.
-rw-r--r--sys/arch/mvme88k/mvme88k/eh.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/mvme88k/eh.S b/sys/arch/mvme88k/mvme88k/eh.S
index 294a28c4e43..ac2e5d1b513 100644
--- a/sys/arch/mvme88k/mvme88k/eh.S
+++ b/sys/arch/mvme88k/mvme88k/eh.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: eh.S,v 1.32 2003/08/13 08:52:44 miod Exp $ */
+/* $OpenBSD: eh.S,v 1.33 2003/08/21 20:45:43 miod Exp $ */
/*
* Mach Operating System
* Copyright (c) 1993-1991 Carnegie Mellon University
@@ -2079,14 +2079,14 @@ ASLOCAL(check_ast)
subu r31, r31, 32
bsr.n _C_LABEL(setipl)
- or r2,r0,1
+ or r2, r0, IPL_SOFTCLOCK
/* at ipl 1 now */
addu r31, r31, 32
bsr _C_LABEL(dosoftint)
/* is this needed? we are going to restore the ipl below XXX nivas */
subu r31, r31, 32
bsr.n _C_LABEL(setipl)
- or r2,r0,0 /* ints are enabled */
+ or r2, r0, IPL_NONE /* ints are enabled */
addu r31, r31, 32
/* at ipl 0 now */
1: