diff options
-rw-r--r-- | sys/arch/alpha/include/cpu.h | 4 | ||||
-rw-r--r-- | sys/arch/arm/include/cpu.h | 3 | ||||
-rw-r--r-- | sys/arch/hppa/include/cpu.h | 3 | ||||
-rw-r--r-- | sys/arch/hppa64/include/cpu.h | 3 | ||||
-rw-r--r-- | sys/arch/m68k/include/cpu.h | 3 | ||||
-rw-r--r-- | sys/arch/m88k/include/cpu.h | 3 | ||||
-rw-r--r-- | sys/arch/mips64/include/cpu.h | 3 | ||||
-rw-r--r-- | sys/arch/sh/include/cpu.h | 3 | ||||
-rw-r--r-- | sys/arch/sparc/sparc/cpuvar.h | 3 | ||||
-rw-r--r-- | sys/arch/vax/include/cpu.h | 3 |
10 files changed, 21 insertions, 10 deletions
diff --git a/sys/arch/alpha/include/cpu.h b/sys/arch/alpha/include/cpu.h index dbb7668c2fb..3351d04a32a 100644 --- a/sys/arch/alpha/include/cpu.h +++ b/sys/arch/alpha/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.34 2008/10/10 08:05:45 art Exp $ */ +/* $OpenBSD: cpu.h,v 1.35 2008/10/10 08:36:28 art Exp $ */ /* $NetBSD: cpu.h,v 1.45 2000/08/21 02:03:12 thorpej Exp $ */ /*- @@ -220,6 +220,8 @@ void fpusave_proc(struct proc *, int); #define MAXCPUS ALPHA_MAXPROCS +#define cpu_unidle(ci) + #if defined(MULTIPROCESSOR) extern __volatile u_long cpus_running; extern __volatile u_long cpus_paused; diff --git a/sys/arch/arm/include/cpu.h b/sys/arch/arm/include/cpu.h index 8c1b3d9f57d..45673233d2f 100644 --- a/sys/arch/arm/include/cpu.h +++ b/sys/arch/arm/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.21 2008/10/10 08:05:45 art Exp $ */ +/* $OpenBSD: cpu.h,v 1.22 2008/10/10 08:36:28 art Exp $ */ /* $NetBSD: cpu.h,v 1.34 2003/06/23 11:01:08 martin Exp $ */ /* @@ -228,6 +228,7 @@ extern struct cpu_info cpu_info_store; for (cii = 0, ci = curcpu(); ci != NULL; ci = NULL) #define CPU_INFO_UNIT(ci) 0 #define MAXCPUS 1 +#define cpu_unidle(ci) #endif #ifdef __PROG32 diff --git a/sys/arch/hppa/include/cpu.h b/sys/arch/hppa/include/cpu.h index 4ba1aedc6c9..d908c3ba425 100644 --- a/sys/arch/hppa/include/cpu.h +++ b/sys/arch/hppa/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.57 2008/10/10 08:05:45 art Exp $ */ +/* $OpenBSD: cpu.h,v 1.58 2008/10/10 08:36:28 art Exp $ */ /* * Copyright (c) 2000-2004 Michael Shalayeff @@ -84,6 +84,7 @@ extern struct cpu_info cpu_info_primary; #define CPU_INFO_UNIT(ci) 0 #define MAXCPUS 1 #define cpu_number() 0 +#define cpu_unidle(ci) /* types */ enum hppa_cpu_type { diff --git a/sys/arch/hppa64/include/cpu.h b/sys/arch/hppa64/include/cpu.h index 38deb57665e..f7c52306250 100644 --- a/sys/arch/hppa64/include/cpu.h +++ b/sys/arch/hppa64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.13 2008/10/10 08:05:45 art Exp $ */ +/* $OpenBSD: cpu.h,v 1.14 2008/10/10 08:36:28 art Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -144,6 +144,7 @@ struct cpu_info *curcpu(void); for (cii = 0, ci = curcpu(); ci != NULL; ci = ci->ci_next) #define CPU_INFO_UNIT(ci) ((ci)->ci_number) #define MAXCPUS 1 +#define cpu_unidle(ci) #ifdef DIAGNOSTIC void splassert_fail(int, int, const char *); diff --git a/sys/arch/m68k/include/cpu.h b/sys/arch/m68k/include/cpu.h index 929a253d075..f498b8a3b0c 100644 --- a/sys/arch/m68k/include/cpu.h +++ b/sys/arch/m68k/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.20 2008/10/10 08:05:45 art Exp $ */ +/* $OpenBSD: cpu.h,v 1.21 2008/10/10 08:36:28 art Exp $ */ /* $NetBSD: cpu.h,v 1.3 1997/02/02 06:56:57 thorpej Exp $ */ /* @@ -85,6 +85,7 @@ extern struct cpu_info cpu_info_store; for (cii = 0, ci = curcpu(); ci != NULL; ci = NULL) #define CPU_INFO_UNIT(ci) 0 #define MAXCPUS 1 +#define cpu_unidle(ci) #define cpu_number() 0 diff --git a/sys/arch/m88k/include/cpu.h b/sys/arch/m88k/include/cpu.h index ab69b03559c..c4b5d6fbc25 100644 --- a/sys/arch/m88k/include/cpu.h +++ b/sys/arch/m88k/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.36 2008/10/10 08:05:45 art Exp $ */ +/* $OpenBSD: cpu.h,v 1.37 2008/10/10 08:36:28 art Exp $ */ /* * Copyright (c) 1996 Nivas Madhur * Copyright (c) 1992, 1993 @@ -137,6 +137,7 @@ extern struct cpu_info m88k_cpus[MAX_CPUS]; if (((ci) = &m88k_cpus[cii])->ci_flags & CIF_ALIVE) #define CPU_INFO_UNIT(ci) ((ci)->ci_cpuid) #define MAXCPUS MAX_CPUS +#define cpu_unidle(ci) #if defined(MULTIPROCESSOR) diff --git a/sys/arch/mips64/include/cpu.h b/sys/arch/mips64/include/cpu.h index 9c5a9cd6942..e56b62491c1 100644 --- a/sys/arch/mips64/include/cpu.h +++ b/sys/arch/mips64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.27 2008/10/10 08:05:45 art Exp $ */ +/* $OpenBSD: cpu.h,v 1.28 2008/10/10 08:36:28 art Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -386,6 +386,7 @@ extern struct cpu_info cpu_info_primary; for (cii = 0, ci = curcpu(); ci != NULL; ci = NULL) #define CPU_INFO_UNIT(ci) 0 #define MAXCPUS 1 +#define cpu_unidle(ci) #define cpu_number() 0 diff --git a/sys/arch/sh/include/cpu.h b/sys/arch/sh/include/cpu.h index 519b51d1c2d..39d386f893d 100644 --- a/sys/arch/sh/include/cpu.h +++ b/sys/arch/sh/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.16 2008/10/10 08:05:45 art Exp $ */ +/* $OpenBSD: cpu.h,v 1.17 2008/10/10 08:36:28 art Exp $ */ /* $NetBSD: cpu.h,v 1.41 2006/01/21 04:24:12 uwe Exp $ */ /*- @@ -70,6 +70,7 @@ extern struct cpu_info cpu_info_store; for (cii = 0, ci = curcpu(); ci != NULL; ci = NULL) #define CPU_INFO_UNIT(ci) 0 #define MAXCPUS 1 +#define cpu_unidle(ci) /* diff --git a/sys/arch/sparc/sparc/cpuvar.h b/sys/arch/sparc/sparc/cpuvar.h index 250e884f819..65cc5202053 100644 --- a/sys/arch/sparc/sparc/cpuvar.h +++ b/sys/arch/sparc/sparc/cpuvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpuvar.h,v 1.14 2008/10/10 08:05:45 art Exp $ */ +/* $OpenBSD: cpuvar.h,v 1.15 2008/10/10 08:36:28 art Exp $ */ /* $NetBSD: cpuvar.h,v 1.4 1997/07/06 21:14:25 pk Exp $ */ /* @@ -89,6 +89,7 @@ struct cpu_info { for (cii = 0, ci = curcpu(); ci != NULL; ci = ci->ci_next) #define CPU_INFO_UNIT(ci) ((ci)->ci_softc->dv.dv_unit) #define MAXCPUS 1 +#define cpu_unidle(ci) /* * The cpu_softc structure. This structure maintains information about one diff --git a/sys/arch/vax/include/cpu.h b/sys/arch/vax/include/cpu.h index 27525a2ccaf..a7af7b5a25c 100644 --- a/sys/arch/vax/include/cpu.h +++ b/sys/arch/vax/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.31 2008/10/10 08:05:45 art Exp $ */ +/* $OpenBSD: cpu.h,v 1.32 2008/10/10 08:36:28 art Exp $ */ /* $NetBSD: cpu.h,v 1.41 1999/10/21 20:01:36 ragge Exp $ */ /* @@ -65,6 +65,7 @@ extern struct cpu_info cpu_info_store; for (cii = 0, ci = curcpu(); ci != NULL; ci = NULL) #define CPU_INFO_UNIT(ci) 0 #define MAXCPUS 1 +#define cpu_unidle(ci) struct clockframe { int pc; |