summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/pcb_ext.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-05-10 17:03:03 +0000
committerjhb <jhb@FreeBSD.org>2001-05-10 17:03:03 +0000
commit27d39b6a8b62159ea2b7da66d7399b1c4920c46f (patch)
tree24316a1d6493d24882211a931bceb645bdcbd201 /sys/amd64/include/pcb_ext.h
parent232f0ebbaaa27da67da674429a510b4c24e1c9e3 (diff)
downloadFreeBSD-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/amd64/include/pcb_ext.h')
-rw-r--r--sys/amd64/include/pcb_ext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/include/pcb_ext.h b/sys/amd64/include/pcb_ext.h
index 2856c7b..7d6fb08 100644
--- a/sys/amd64/include/pcb_ext.h
+++ b/sys/amd64/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 *));
OpenPOWER on IntegriCloud