summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/ipl_funcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/ipl_funcs.c')
-rw-r--r--sys/i386/isa/ipl_funcs.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/i386/isa/ipl_funcs.c b/sys/i386/isa/ipl_funcs.c
index aeba4ac..c73fc22 100644
--- a/sys/i386/isa/ipl_funcs.c
+++ b/sys/i386/isa/ipl_funcs.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ipl_funcs.c,v 1.14 1998/12/07 21:58:22 archie Exp $
+ * $Id: ipl_funcs.c,v 1.15 1999/03/05 23:39:02 gibbs Exp $
*/
#include <sys/types.h>
@@ -105,6 +105,14 @@ splx(unsigned ipl)
splz();
}
+intrmask_t
+splq(intrmask_t mask)
+{
+ intrmask_t tmp = cpl;
+ cpl |= mask;
+ return (tmp);
+}
+
#else /* !SMP */
#include <machine/smp.h>
OpenPOWER on IntegriCloud