summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-02-02 09:08:23 +0000
committerbde <bde@FreeBSD.org>1999-02-02 09:08:23 +0000
commit854609d8d95c79b7da9960c91e5faab6f823b63b (patch)
tree74f1b3edb880225d169878104e317da90d0b1256 /sys/alpha/include
parent20e9c3a9ba50b4a863673d243a0423a6919d51f9 (diff)
downloadFreeBSD-src-854609d8d95c79b7da9960c91e5faab6f823b63b.zip
FreeBSD-src-854609d8d95c79b7da9960c91e5faab6f823b63b.tar.gz
Added a hopefully-machine-independent macro for determining if a
reschedule is pending.
Diffstat (limited to 'sys/alpha/include')
-rw-r--r--sys/alpha/include/cpu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/alpha/include/cpu.h b/sys/alpha/include/cpu.h
index 5a0a15a..e4cf206 100644
--- a/sys/alpha/include/cpu.h
+++ b/sys/alpha/include/cpu.h
@@ -1,4 +1,4 @@
-/* $Id: cpu.h,v 1.3 1998/07/12 16:32:06 dfr Exp $ */
+/* $Id: cpu.h,v 1.4 1998/10/06 08:40:17 dfr Exp $ */
/* From: NetBSD: cpu.h,v 1.18 1997/09/23 23:17:49 mjacob Exp */
/*
@@ -77,6 +77,8 @@ struct clockframe {
*/
#define need_resched() { want_resched = 1; aston(); }
+#define resched_wanted() want_resched
+
/*
* Give a profiling tick to the current process when the user profiling
* buffer pages are invalid. On the hp300, request an ast to send us
OpenPOWER on IntegriCloud