diff options
author | jhb <jhb@FreeBSD.org> | 2001-05-10 17:03:03 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-05-10 17:03:03 +0000 |
commit | 27d39b6a8b62159ea2b7da66d7399b1c4920c46f (patch) | |
tree | 24316a1d6493d24882211a931bceb645bdcbd201 /sys/i386/include/pcb_ext.h | |
parent | 232f0ebbaaa27da67da674429a510b4c24e1c9e3 (diff) | |
download | FreeBSD-src-27d39b6a8b62159ea2b7da66d7399b1c4920c46f.zip FreeBSD-src-27d39b6a8b62159ea2b7da66d7399b1c4920c46f.tar.gz |
- Use sched_lock and critical regions to ensure that LDT updates are thread
safe from preemption and concurrent access to the LDT.
- Move the prototype for i386_extend_pcb() to <machine/pcb_ext.h>.
Reviewed by: silence on -hackers
Diffstat (limited to 'sys/i386/include/pcb_ext.h')
-rw-r--r-- | sys/i386/include/pcb_ext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/include/pcb_ext.h b/sys/i386/include/pcb_ext.h index 2856c7b..7d6fb08 100644 --- a/sys/i386/include/pcb_ext.h +++ b/sys/i386/include/pcb_ext.h @@ -53,6 +53,7 @@ struct pcb_ldt { #ifdef _KERNEL +int i386_extend_pcb __P((struct proc *)); void set_user_ldt __P((struct pcb *)); struct pcb_ldt *user_ldt_alloc __P((struct pcb *, int)); void user_ldt_free __P((struct pcb *)); |