diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-03-15 19:41:37 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-03-15 19:41:37 +0000 |
commit | d645111a1580344c3de63b04d923df67842f078e (patch) | |
tree | 80073fa3adcfb03e905af6ccf7b55f3aa563eba1 /sys/arch/alpha/include/intr.h | |
parent | be4afdca2a5b4f0324ddb45bb3f51a9ad4bcbed4 (diff) |
Now that we have splsoftassert(), make the soft ipl levels positive and
remove the special casing in splassert().
Diffstat (limited to 'sys/arch/alpha/include/intr.h')
-rw-r--r-- | sys/arch/alpha/include/intr.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/alpha/include/intr.h b/sys/arch/alpha/include/intr.h index 42f0794e9c2..ffafa0c3793 100644 --- a/sys/arch/alpha/include/intr.h +++ b/sys/arch/alpha/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.31 2009/03/15 19:40:38 miod Exp $ */ +/* $OpenBSD: intr.h,v 1.32 2009/03/15 19:41:36 miod Exp $ */ /* $NetBSD: intr.h,v 1.26 2000/06/03 20:47:41 thorpej Exp $ */ /*- @@ -118,10 +118,10 @@ struct scbvec { #define IPL_CLOCK ALPHA_PSL_IPL_CLOCK #define IPL_HIGH ALPHA_PSL_IPL_HIGH -#define IPL_SOFTSERIAL -1 /* serial software interrupts */ -#define IPL_SOFTNET -2 /* network software interrupts */ -#define IPL_SOFTCLOCK -3 /* clock software interrupts */ -#define IPL_SOFT -4 /* other software interrupts */ +#define IPL_SOFTSERIAL 0 /* serial software interrupts */ +#define IPL_SOFTNET 1 /* network software interrupts */ +#define IPL_SOFTCLOCK 2 /* clock software interrupts */ +#define IPL_SOFT 3 /* other software interrupts */ #define IST_UNUSABLE -1 /* interrupt cannot be used */ #define IST_NONE 0 /* none (dummy) */ |