summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2007-05-16 19:37:07 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2007-05-16 19:37:07 +0000
commitec3e41d6fde92a5ae718de535eb0fede85380886 (patch)
tree3a10ddcc305ddebf6abad34139ac89b785985a48 /sys/arch/hppa
parent161a4532b6266e2d96b1cb0fef9b737b7780df57 (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/hppa')
-rw-r--r--sys/arch/hppa/include/intr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/include/intr.h b/sys/arch/hppa/include/intr.h
index f7a82352d58..fa2b3b61d4c 100644
--- a/sys/arch/hppa/include/intr.h
+++ b/sys/arch/hppa/include/intr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.h,v 1.22 2007/05/14 19:54:21 martin Exp $ */
+/* $OpenBSD: intr.h,v 1.23 2007/05/16 19:37:06 thib Exp $ */
/*
* Copyright (c) 2002-2004 Michael Shalayeff
@@ -66,7 +66,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)