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/amd64 | |
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/amd64')
-rw-r--r-- | sys/arch/amd64/include/intr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/intr.h b/sys/arch/amd64/include/intr.h index 9e4e0188241..a658b1c525d 100644 --- a/sys/arch/amd64/include/intr.h +++ b/sys/arch/amd64/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.9 2007/05/10 17:59:24 deraadt Exp $ */ +/* $OpenBSD: intr.h,v 1.10 2007/05/16 19:37:06 thib Exp $ */ /* $NetBSD: intr.h,v 1.2 2003/05/04 22:01:56 fvdl Exp $ */ /*- @@ -174,7 +174,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) |