summaryrefslogtreecommitdiff
path: root/sys/arch/sh
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2008-10-10 08:36:29 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2008-10-10 08:36:29 +0000
commit5a7066c5f93924dd4c67b0d487c7af9755c7da6f (patch)
treeffdb6137097b02b96f5275ce9e8d8538144bb568 /sys/arch/sh
parentf6566fc21328024e33b60c477810acc6cafa1237 (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/sh')
-rw-r--r--sys/arch/sh/include/cpu.h3
1 files changed, 2 insertions, 1 deletions
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)
/*