diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-05-16 19:38:22 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-05-16 19:38:22 +0000 |
commit | b93e7a86db144bb6042f817bf19112233e899373 (patch) | |
tree | 47b2cf6d5e5c1f8e0f589150ff085f5463be0786 | |
parent | ec3e41d6fde92a5ae718de535eb0fede85380886 (diff) |
forgot this one in my previous commit.
splassert_ctl defaults to 1 now, so dont wrap the checks for
splassert_ctl > 0 in __predict_false().
ok deraadt@
-rw-r--r-- | sys/arch/landisk/include/intr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/landisk/include/intr.h b/sys/arch/landisk/include/intr.h index ff3eb85a6ab..1fa915f3994 100644 --- a/sys/arch/landisk/include/intr.h +++ b/sys/arch/landisk/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.5 2006/11/21 21:04:46 miod Exp $ */ +/* $OpenBSD: intr.h,v 1.6 2007/05/16 19:38:21 thib Exp $ */ /* $NetBSD: intr.h,v 1.1 2006/09/01 21:26:18 uwe Exp $ */ /*- @@ -78,7 +78,7 @@ 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) |