diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2008-09-08 09:59:05 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2008-09-08 09:59:05 +0000 |
commit | 3bd5e467b2152635867ff255ac3ad273bb3325d2 (patch) | |
tree | a308fa38f71a058e176d9756194177e9afdf880e /sys/amd64/include/pcpu.h | |
parent | 1772c3e9bbe2193024711a8019a56815f10b82af (diff) | |
download | src-3bd5e467b2152635867ff255ac3ad273bb3325d2.tar.gz src-3bd5e467b2152635867ff255ac3ad273bb3325d2.zip |
The pcb_gs32p should be per-cpu, not per-thread pointer. This is
location in GDT where the segment descriptor from pcb_gs32sd is
copied, and the location is in GDT local to CPU.
Noted and reviewed by: peter
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=182868
Diffstat (limited to 'sys/amd64/include/pcpu.h')
-rw-r--r-- | sys/amd64/include/pcpu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/amd64/include/pcpu.h b/sys/amd64/include/pcpu.h index fe811c57ec51..e9faf282c77a 100644 --- a/sys/amd64/include/pcpu.h +++ b/sys/amd64/include/pcpu.h @@ -48,7 +48,8 @@ register_t pc_rsp0; \ register_t pc_scratch_rsp; /* User %rsp in syscall */ \ u_int pc_apic_id; \ - u_int pc_acpi_id /* ACPI CPU id */ + u_int pc_acpi_id; /* ACPI CPU id */ \ + struct user_segment_descriptor *pc_gs32p #ifdef _KERNEL |