diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2008-10-10 08:36:29 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2008-10-10 08:36:29 +0000 |
commit | 5a7066c5f93924dd4c67b0d487c7af9755c7da6f (patch) | |
tree | ffdb6137097b02b96f5275ce9e8d8538144bb568 /sys/arch/sparc | |
parent | f6566fc21328024e33b60c477810acc6cafa1237 (diff) |
Add empty cpu_unidle() macros for architectures that currently don't do
anything special to prod a cpu to leave the idle loop in signotify.
powerpc, i386, amd64 and sparc64 will follow soon so that everyone has
the same interface to wake an idling cpu.
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/sparc/cpuvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |