summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2020-09-24 20:30:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2020-09-24 20:30:42 +0000
commit4de50dc32df03b28e25503e930ae08eff9a5e61a (patch)
tree0ec1b39d15e3fde3da73656f65f1d5465bc79dbf /sys/arch/i386
parentbb20519b0afbc8116db9bdf097ee1783a48132a9 (diff)
the legacy need_resched macro to access per-cpu value is no longer needed
ok kettenis
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/include/cpu.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h
index 368eba51234..471e575e626 100644
--- a/sys/arch/i386/include/cpu.h
+++ b/sys/arch/i386/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.171 2020/09/23 15:13:26 deraadt Exp $ */
+/* $OpenBSD: cpu.h,v 1.172 2020/09/24 20:30:41 deraadt Exp $ */
/* $NetBSD: cpu.h,v 1.35 1996/05/05 19:29:26 christos Exp $ */
/*-
@@ -265,8 +265,6 @@ void cpu_unidle(struct cpu_info *);
#define curpcb curcpu()->ci_curpcb
-#define want_resched (curcpu()->ci_want_resched)
-
unsigned int cpu_rnd_messybits(void);
/*