diff options
author | 2004-06-22 01:16:50 +0000 | |
---|---|---|
committer | 2004-06-22 01:16:50 +0000 | |
commit | 870ba2216f60a48968849966c77bccfa6edad903 (patch) | |
tree | ef47d81a150c7509eb03a3e3cc8e19bfbbdc0a96 /sys/sys/sched.h | |
parent | don't show .files by default in ls, add -a option to turn them back on; (diff) | |
download | wireguard-openbsd-870ba2216f60a48968849966c77bccfa6edad903.tar.xz wireguard-openbsd-870ba2216f60a48968849966c77bccfa6edad903.zip |
Switch amd64 to __HAVE_CPUINFO
deraadt@ ok
Diffstat (limited to 'sys/sys/sched.h')
-rw-r--r-- | sys/sys/sched.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/sched.h b/sys/sys/sched.h index 97c68dce08b..2bf36105626 100644 --- a/sys/sys/sched.h +++ b/sys/sys/sched.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sched.h,v 1.9 2004/06/21 23:12:14 art Exp $ */ +/* $OpenBSD: sched.h,v 1.10 2004/06/22 01:16:50 art Exp $ */ /* $NetBSD: sched.h,v 1.2 1999/02/28 18:14:58 ross Exp $ */ /*- @@ -138,7 +138,7 @@ void roundrobin(struct cpu_info *); (parent)->p_estcpu = ESTCPULIM((parent)->p_estcpu + (child)->p_estcpu);\ } while (0) -#ifndef splsched +#if !defined(__HAVE_CPUINFO) && !defined(splsched) #define splsched() splhigh() #endif #ifndef IPL_SCHED |