diff --git a/sys/arch/x86/include/intr.h b/sys/arch/x86/include/intr.h index 6689601724f0..59c4acdc9e30 100644 --- a/sys/arch/x86/include/intr.h +++ b/sys/arch/x86/include/intr.h @@ -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. @@ -177,6 +177,7 @@ spllower(int nlevel) #define splstatclock() splclock() #define splserial() splraise(IPL_SERIAL) #define splipi() splraise(IPL_IPI) +#define splraiseipl(x) splraise(x) #define SPL_ASSERT_BELOW(x) KDASSERT(curcpu()->ci_ilevel < (x)) diff --git a/sys/arch/xen/include/intr.h b/sys/arch/xen/include/intr.h index ed996f456681..24b309d80bf2 100644 --- a/sys/arch/xen/include/intr.h +++ b/sys/arch/xen/include/intr.h @@ -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 */ /*- @@ -188,6 +188,7 @@ spllower(int nlevel) #ifndef MULTIPROCESSOR #define splipi() splhigh() #endif +#define splraiseipl(x) splraise(x) #define splx(x) spllower(x) /*