summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1999-08-14 03:26:00 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1999-08-14 03:26:00 +0000
commit640bd5de98218fe938952f2669d2beddb9a39d3b (patch)
tree908252f0a505ac8e1b8ace7be1ed24e29c5255ce /sys/arch/hppa
parent35e5e84d414cca762659f4d3f49e98103b056ebb (diff)
better CLKF_BASEPRI
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/include/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/include/cpu.h b/sys/arch/hppa/include/cpu.h
index 0a72fa5ab5c..137ddefa3cf 100644
--- a/sys/arch/hppa/include/cpu.h
+++ b/sys/arch/hppa/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.9 1999/06/12 18:13:16 mickey Exp $ */
+/* $OpenBSD: cpu.h,v 1.10 1999/08/14 03:25:59 mickey Exp $ */
/*
* Copyright (c) 1988-1994, The University of Utah and
@@ -50,7 +50,7 @@
#define HPPA_NMODSPBUS 64
#define clockframe trapframe
-#define CLKF_BASEPRI(framep) ((framep)->tf_eiem)
+#define CLKF_BASEPRI(framep) ((framep)->tf_eiem == ~0U)
#define CLKF_PC(framep) ((framep)->tf_iioq_head)
#define CLKF_INTR(framep) (0) /* XXX */
#define CLKF_USERMODE(framep) (USERMODE((framep)->tf_iioq_head))