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/alpha/include/cpu.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch/alpha/include') 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; -- cgit v1.2.3