diff options
author | John Baldwin <jhb@FreeBSD.org> | 2000-10-05 20:30:36 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2000-10-05 20:30:36 +0000 |
commit | d238b8331576bdb994ce297fc0269ebdceda465a (patch) | |
tree | c7ac56512dab3537e3024dcc449270f3d2b59bee /sys/i386/include/globaldata.h | |
parent | 1219828400bccbae5e1303138202282b3665bf20 (diff) |
Make the gd_currentldt member in struct globaldata unconditional so
that this header doesn't depend on USER_LDT. This fixes the USER_LDT
breakage with SMP kernels.
Notes
Notes:
svn path=/head/; revision=66692
Diffstat (limited to 'sys/i386/include/globaldata.h')
-rw-r--r-- | sys/i386/include/globaldata.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/i386/include/globaldata.h b/sys/i386/include/globaldata.h index 440da60b4b83..ace3602a2844 100644 --- a/sys/i386/include/globaldata.h +++ b/sys/i386/include/globaldata.h @@ -65,9 +65,7 @@ struct globaldata { int gd_intr_nesting_level; struct segment_descriptor gd_common_tssd; struct segment_descriptor *gd_tss_gdt; -#ifdef USER_LDT - int gd_currentldt; -#endif + int gd_currentldt; /* only used for USER_LDT */ #ifdef SMP u_int gd_cpuid; u_int gd_cpu_lockid; |