add splraiseipl().

This commit is contained in:
yamt 2005-10-29 11:07:45 +00:00
parent aee1af1ef4
commit 0416d5be24
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: intr.h,v 1.16 2005/10/28 10:34:18 yamt Exp $ */ /* $NetBSD: intr.h,v 1.17 2005/10/29 11:07:45 yamt Exp $ */
/*- /*-
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc. * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@ -177,6 +177,7 @@ spllower(int nlevel)
#define splstatclock() splclock() #define splstatclock() splclock()
#define splserial() splraise(IPL_SERIAL) #define splserial() splraise(IPL_SERIAL)
#define splipi() splraise(IPL_IPI) #define splipi() splraise(IPL_IPI)
#define splraiseipl(x) splraise(x)
#define SPL_ASSERT_BELOW(x) KDASSERT(curcpu()->ci_ilevel < (x)) #define SPL_ASSERT_BELOW(x) KDASSERT(curcpu()->ci_ilevel < (x))

View File

@ -1,4 +1,4 @@
/* $NetBSD: intr.h,v 1.4 2005/10/28 10:34:18 yamt Exp $ */ /* $NetBSD: intr.h,v 1.5 2005/10/29 11:07:45 yamt Exp $ */
/* NetBSD intr.h,v 1.15 2004/10/31 10:39:34 yamt Exp */ /* NetBSD intr.h,v 1.15 2004/10/31 10:39:34 yamt Exp */
/*- /*-
@ -188,6 +188,7 @@ spllower(int nlevel)
#ifndef MULTIPROCESSOR #ifndef MULTIPROCESSOR
#define splipi() splhigh() #define splipi() splhigh()
#endif #endif
#define splraiseipl(x) splraise(x)
#define splx(x) spllower(x) #define splx(x) spllower(x)
/* /*