diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-03-26 17:24:34 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2009-03-26 17:24:34 +0000 |
commit | 647d591871a5b84dc0a5b16349722565a45f3c53 (patch) | |
tree | e8b665217ed33e4929355cfc8114dcf8d40ce4a5 /sys/arch/sh/include/cpu.h | |
parent | 5c8ed6b1ba929d643628032d6d808b6c915a7833 (diff) |
Remove cpu_wait(). It's original use was to be called from the reaper so
MD code would free resources that couldn't be freed until we were no
longer running in that processor. However, it's is unused on all
architectures since mikeb@'s tss changes on x86 earlier in the year.
ok miod@
Diffstat (limited to 'sys/arch/sh/include/cpu.h')
-rw-r--r-- | sys/arch/sh/include/cpu.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/sh/include/cpu.h b/sys/arch/sh/include/cpu.h index 681b799c039..939af15b246 100644 --- a/sys/arch/sh/include/cpu.h +++ b/sys/arch/sh/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.18 2008/10/15 23:23:49 deraadt Exp $ */ +/* $OpenBSD: cpu.h,v 1.19 2009/03/26 17:24:33 oga Exp $ */ /* $NetBSD: cpu.h,v 1.41 2006/01/21 04:24:12 uwe Exp $ */ /*- @@ -124,7 +124,6 @@ do { \ extern int want_resched; /* need_resched() was called */ -#define cpu_wait(p) ((void)(p)) /* * We need a machine-independent name for this. */ |