diff options
author | bde <bde@FreeBSD.org> | 1999-02-02 09:08:23 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-02-02 09:08:23 +0000 |
commit | 854609d8d95c79b7da9960c91e5faab6f823b63b (patch) | |
tree | 74f1b3edb880225d169878104e317da90d0b1256 /sys/i386 | |
parent | 20e9c3a9ba50b4a863673d243a0423a6919d51f9 (diff) | |
download | FreeBSD-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/i386')
-rw-r--r-- | sys/i386/include/cpu.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/include/cpu.h b/sys/i386/include/cpu.h index af69a36..0536b73 100644 --- a/sys/i386/include/cpu.h +++ b/sys/i386/include/cpu.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)cpu.h 5.4 (Berkeley) 5/9/91 - * $Id: cpu.h,v 1.36 1998/08/31 08:41:40 kato Exp $ + * $Id: cpu.h,v 1.37 1999/01/29 08:36:43 dillon Exp $ */ #ifndef _MACHINE_CPU_H_ @@ -85,6 +85,8 @@ */ #define need_resched() { want_resched = 1; aston(); } +#define resched_wanted() want_resched + /* * Arrange to handle pending profiling ticks before returning to user mode. * |