diff options
author | John Baldwin <jhb@FreeBSD.org> | 2001-02-10 02:20:34 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2001-02-10 02:20:34 +0000 |
commit | 142ba5f3d79d3fa27e8d3cb464677c9a8c26382b (patch) | |
tree | a479934b0a3b95d7cd72ce5a2c13c832691a3ca6 /sys/i386/include/globaldata.h | |
parent | 90b99402a95be74bf848e84c54a79cecc9fcab13 (diff) |
- Make astpending and need_resched process attributes rather than CPU
attributes. This is needed for AST's to be properly posted in a preemptive
kernel. They are backed by two new flags in p_sflag: PS_ASTPENDING and
PS_NEEDRESCHED. They are still accesssed by their old macros:
aston(), astoff(), etc. For completeness, an astpending() macro has been
added to check for a pending AST, and clear_resched() has been added to
clear need_resched().
- Rename syscall2() on the x86 back to syscall() to be consistent with
other architectures.
Notes
Notes:
svn path=/head/; revision=72276
Diffstat (limited to 'sys/i386/include/globaldata.h')
-rw-r--r-- | sys/i386/include/globaldata.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/i386/include/globaldata.h b/sys/i386/include/globaldata.h index 83d510374e67..3b7bca5297c2 100644 --- a/sys/i386/include/globaldata.h +++ b/sys/i386/include/globaldata.h @@ -63,7 +63,6 @@ struct globaldata { int gd_currentldt; /* only used for USER_LDT */ u_int gd_cpuid; u_int gd_other_cpus; - u_int gd_astpending; SLIST_ENTRY(globaldata) gd_allcpu; int gd_witness_spin_check; #ifdef KTR_PERCPU |