summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-09-06 10:45:30 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-09-06 10:45:30 +0000
commit4f56fa998371cc050e77caf01ac8630c5b656945 (patch)
treedbe996c82c1fb9b2315e5521dea2e8d15ffe8fb1 /sys/arch/powerpc
parentc37dd3becaaf6af61686c4ed38dfaeaf2fb958db (diff)
Rename ci_iactive into ci_flags, this field now holds the going-to-
sleep bit.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/include/cpu.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/powerpc/include/cpu.h b/sys/arch/powerpc/include/cpu.h
index ba877a7fc1b..604717d3bcb 100644
--- a/sys/arch/powerpc/include/cpu.h
+++ b/sys/arch/powerpc/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.55 2014/09/06 10:15:52 mpi Exp $ */
+/* $OpenBSD: cpu.h,v 1.56 2014/09/06 10:45:29 mpi Exp $ */
/* $NetBSD: cpu.h,v 1.1 1996/09/30 16:34:21 ws Exp $ */
/*
@@ -54,11 +54,12 @@ struct cpu_info {
volatile int ci_want_resched;
volatile int ci_cpl;
- volatile int ci_iactive;
-#define CI_IACTIVE_PROCESSING_SOFT 1
-#define CI_IACTIVE_SLEEPING 2
volatile int ci_ipending;
+ volatile int ci_flags;
+#define CI_FLAGS_PROCESSING_SOFT 1
+#define CI_FLAGS_SLEEPING 2
+
int ci_intrdepth;
char *ci_intstk;
#define CPUSAVE_LEN 8