From 5a7066c5f93924dd4c67b0d487c7af9755c7da6f Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Fri, 10 Oct 2008 08:36:29 +0000 Subject: 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. --- sys/arch/mips64/include/cpu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/mips64') 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 -- cgit v1.2.3