diff options
author | jhb <jhb@FreeBSD.org> | 2001-02-10 02:20:34 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-02-10 02:20:34 +0000 |
commit | a9c84e00da6824d43126b1e221e6e6e95cc276c8 (patch) | |
tree | 2ffe447aaa792aff3416e8c400ea31e67ab643b7 /sys/amd64/include/pcpu.h | |
parent | efcbded13731a03d5149d347fa46611d5ff0ffff (diff) | |
download | FreeBSD-src-a9c84e00da6824d43126b1e221e6e6e95cc276c8.zip FreeBSD-src-a9c84e00da6824d43126b1e221e6e6e95cc276c8.tar.gz |
- 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.
Diffstat (limited to 'sys/amd64/include/pcpu.h')
-rw-r--r-- | sys/amd64/include/pcpu.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/amd64/include/pcpu.h b/sys/amd64/include/pcpu.h index 83d5103..3b7bca5 100644 --- a/sys/amd64/include/pcpu.h +++ b/sys/amd64/include/pcpu.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 |