diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-05-16 19:37:07 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-05-16 19:37:07 +0000 |
commit | ec3e41d6fde92a5ae718de535eb0fede85380886 (patch) | |
tree | 3a10ddcc305ddebf6abad34139ac89b785985a48 /sys/arch/i386/include/intr.h | |
parent | 161a4532b6266e2d96b1cb0fef9b737b7780df57 (diff) |
splassert_ctl defaults to 1 now, so dont wrap the checks for
splassert_ctl > 0 in __predict_false().
ok deraadt@
Diffstat (limited to 'sys/arch/i386/include/intr.h')
-rw-r--r-- | sys/arch/i386/include/intr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/intr.h b/sys/arch/i386/include/intr.h index 90faf62a0bb..eeeb74a605e 100644 --- a/sys/arch/i386/include/intr.h +++ b/sys/arch/i386/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.30 2007/04/21 21:06:15 gwk Exp $ */ +/* $OpenBSD: intr.h,v 1.31 2007/05/16 19:37:06 thib Exp $ */ /* $NetBSD: intr.h,v 1.5 1996/05/13 06:11:28 mycroft Exp $ */ /* @@ -79,7 +79,7 @@ void splassert_fail(int, int, const char *); extern int splassert_ctl; void splassert_check(int, const char *); #define splassert(__wantipl) do { \ - if (__predict_false(splassert_ctl > 0)) { \ + if (splassert_ctl > 0) { \ splassert_check(__wantipl, __func__); \ } \ } while (0) |