diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2004-08-16 16:43:53 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2004-08-16 16:43:53 +0000 |
commit | df8814f6ba84b4dea9a65ecd15d73efab1fce503 (patch) | |
tree | 980c914b2c9397917c2fe3fac4fb32b7132bcefd /sys/arch/alpha/include/intr.h | |
parent | efd2c67f9b113fb613359803df50e50beffe207e (diff) |
Uninline splraise to save some time and space.
deraadt@ ok, tested by many for a long time.
Diffstat (limited to 'sys/arch/alpha/include/intr.h')
-rw-r--r-- | sys/arch/alpha/include/intr.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/sys/arch/alpha/include/intr.h b/sys/arch/alpha/include/intr.h index 979d823ab93..7b6713debfa 100644 --- a/sys/arch/alpha/include/intr.h +++ b/sys/arch/alpha/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.18 2004/06/28 02:28:42 aaron Exp $ */ +/* $OpenBSD: intr.h,v 1.19 2004/08/16 16:43:52 art Exp $ */ /* $NetBSD: intr.h,v 1.26 2000/06/03 20:47:41 thorpej Exp $ */ /*- @@ -118,14 +118,8 @@ #define spllowersoftclock() alpha_pal_swpipl(ALPHA_PSL_IPL_SOFT) /* IPL-raising functions/macros */ -static __inline int _splraise(int); -static __inline int -_splraise(s) - int s; -{ - int cur = alpha_pal_rdps() & ALPHA_PSL_IPL_MASK; - return (s > cur ? alpha_pal_swpipl(s) : cur); -} +int _splraise(int); + #define splsoft() _splraise(ALPHA_PSL_IPL_SOFT) #define splsoftserial() splsoft() #define splsoftclock() splsoft() |